PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > Putty versus DOS Window - what are the differences?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Putty versus DOS Window - what are the differences?

Réponse
 
LinkBack Outils de la discussion
Vieux 20/11/2006, 10h06   #1
anon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Putty versus DOS Window - what are the differences?

I am using Putty to successfully open a shell window on my laptop
(Computer A) to an XPPro computer (Computer B). I also have VNC
running between the computers and can therefore fire up a DOS window
directly on Computer B, while sitting at Computer A, for comparison
purposes.

I'm running a command on Computer B that uses plink to connect to and
run a command on Computer C.

If I fire that command from the DOS window, Computer B connects to
Computer C and all is well. If I fire that command from the shell,
Computer B does not connect to Computer C. I have confirmed this by
looking at the logs on Computer C. Something is blocking the shell
from communicating with Computer C, even though the firewall on
Computer B is obviously configured such that plink can find Computer C
from the DOS window of Computer B.

The error message from plink is:
Unable to open connection
Host does not exist

Is it possible that the shell's user has less permissions than the
user I emulate on Computer B? I am using freeSSHd as the server, in
case that matters. The freeSSHd server is running as a system
service, so I wouldn't have thought that the shell (which also runs as
a system service) would have fewer rights than the DOS window running
as an Administrator, but I could be wrong on that.

I'm hopeful that somebody has run into this before and can point me in
the general direction of tracking down if not fixing the problem. If
so, that would be greatly appreciated.

Thanks

Jim




  Réponse avec citation
Vieux 20/11/2006, 21h58   #2
anon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty versus DOS Window - what are the differences?

Never mind. It was, as I suspected, an issue having to do with the
freeSSHd service being run from the SYSTEM account rather than from
the Administrator account. Once I changed the service to run from the
Administrator account, the shell had permissions which were equivalent
to the DOS window and plink found the remote machine (Computer C).

Sorry for the intrusion.

Jim

On Mon, 20 Nov 2006 02:06:05 -0800, anon <anon@anon.invalid.net>
wrote:

>I am using Putty to successfully open a shell window on my laptop
>(Computer A) to an XPPro computer (Computer B). I also have VNC
>running between the computers and can therefore fire up a DOS window
>directly on Computer B, while sitting at Computer A, for comparison
>purposes.
>
>I'm running a command on Computer B that uses plink to connect to and
>run a command on Computer C.
>
>If I fire that command from the DOS window, Computer B connects to
>Computer C and all is well. If I fire that command from the shell,
>Computer B does not connect to Computer C. I have confirmed this by
>looking at the logs on Computer C. Something is blocking the shell
>from communicating with Computer C, even though the firewall on
>Computer B is obviously configured such that plink can find Computer C
>from the DOS window of Computer B.
>
>The error message from plink is:
>Unable to open connection
>Host does not exist
>
>Is it possible that the shell's user has less permissions than the
>user I emulate on Computer B? I am using freeSSHd as the server, in
>case that matters. The freeSSHd server is running as a system
>service, so I wouldn't have thought that the shell (which also runs as
>a system service) would have fewer rights than the DOS window running
>as an Administrator, but I could be wrong on that.
>
>I'm hopeful that somebody has run into this before and can point me in
>the general direction of tracking down if not fixing the problem. If
>so, that would be greatly appreciated.
>
>Thanks
>
>Jim
>
>
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10928 seconds with 10 queries