Your PATH environment variable is seeing the Microsoft's telnet client BEFORE it see the cygwin telnet
client (notice the MS copyright) - the cygwin client should be in some place like /bin/telnet. From
inside the bash shell, run "type telnet" to see what program you're accessing - if its
/win/system32/telnet.exe then you're running the MS telnet client. I'm not sure what your question is,
but it seems like your ARE inside the telnet client prompt from your example, i.e. since you see the
following prompt:
Microsoft Telnet>
>From here you need to specify the host you want to telnet to, e.g. "open hostname" in order to get the
login prompt from that host. The alternative way is to run everything from the command line, e.g.:
"telnet hostname" or "telnet your.host.ip.address"
This will take you straight to the login prompt if everything is working properly.
Francois PIETRI wrote:
> No my log is from a SSH session...
>
> Here a cygwin session:
>
> h9900124@hlt-h03786 ~
> $ telnet
> Microsoft (R) Windows 2000 (TM) version 5.00 (numéro 2195)
> Client Telnet Microsoft
> Client Telnet numéro 5.00.99206.1
>
> Le caractère d'échappement est 'CTRL+$'
>
> Microsoft Telnet>
>
> And I haven't any firewall on my device.
>
> ______________________________________________________________________________________
> François PIETRI
> DEVOTEAM-SITICOM, équipe ingénierie et support réseau niveau 2
>
> Email : francois.pietri@total.com
> Email support réseau niveau 2 : Holding.dsit-lan-pld-support@total.com
> Tél. personnel direct : +33 (0) 1 41 35 66 26
> Tél. support réseau niveau 2 : +33 (0) 1 01 47 44 70 70 ou +33 (0) 1 41 35 94 48
> Fax. : +33 (0) 1 41 35 41 57
> ______________________________________________________________________________________
>
>
> Alan Vinh
> <alanvinh@verizon.net>
> Envoyé par : A
> ssh-owner@erdelynet.com ssh@erdelynet.com
>
> cc
> 26/04/2005 17:09
>
> Objet
> Veuillez répondre à Re: Can't run telnet within ssh
> ssh@erdelynet.com
>
>
>
>
>
>
> Are you sure you're in the cygwin bash session? From your log, it looks like it couldn't find the
> home
> directory for the Administrator user and kicked you out back into the DOS shell. Then you tried to
> telnet from the DOS shell (your log looks like it's the DOS shell's prompt not the bash shell's
> prompt)
> which didn't seem to work.
>
> Do you have a personal firewall running on your W2K OS that won't allow telnet to access the
> network? If
> so, you'll have to tell the firewall software to allow the telnet programs through or they won't
> work -
> both the DOS telnet program AND the cygwin telnet program (these are 2 different progams).
>
> Alan
>
> Francois PIETRI wrote:
>
> > OK thanks,
> > but in dos command line, the telnet program doesn't open up a new window!
> > Even in a cygwin window, when launching microsoft telnet, it do not open a new window...
> > ______________________________________________________________________________________
> > François PIETRI
> > DEVOTEAM-SITICOM, équipe ingénierie et support réseau niveau 2
> >
> > Email : francois.pietri@total.com
> > Email support réseau niveau 2 : Holding.dsit-lan-pld-support@total.com
> > Tél. personnel direct : +33 (0) 1 41 35 66 26
> > Tél. support réseau niveau 2 : +33 (0) 1 01 47 44 70 70 ou +33 (0) 1 41 35 94 48
> > Fax. : +33 (0) 1 41 35 41 57
> > ______________________________________________________________________________________
> >
> >
> > "Patrick Engelman"
> > <patrick@Directitcorp.com>
> > Envoyé par :
> A
> > ssh-owner@erdelynet.com <ssh@erdelynet.com>
> >
> >
> cc
> > 26/04/2005 15:24
> >
> >
> Objet
> > Veuillez répondre à Re: Can't run telnet within ssh
> > ssh@erdelynet.com
> >
> >
> >
> >
> >
> >
> > I think that microsoft's Telnet program opens up a new window, doesn't output to the current
> > console, so you're probably popping up a Telnet window you can't see because you're ssh'ed in.
> > I've been playing with this and trying to find what I can do in the console ssh gives me, and
> > what I can't do. A lot of dos programs that do console io don't seem to work (like Edit, for
> > instance). -- Patrick
> >
> > -----Original Message-----
> > From: Francois PIETRI [mailto:francois.pietri@total.com]
> > Sent: Tuesday, April 26, 2005 7:55 AM
> > To: ssh@erdelynet.com
> > Subject: Can't run telnet within ssh
> >
> > Hi,
> >
> > I've installed OpenSSH on a win2K server. Then I connect to this SSH server and try to make a
> telnet
> > connection from this server to another server but telnet don't run!...
> >
> > Here a log:
> > c:\Program Files\openssh\bin>ssh administrator@10.23.130.100
> > administrator@10.23.130.100's password:
> > Last login: Tue Apr 26 11:49:04 2005 from 10.25.139.119
> > Could not chdir to home directory C: No such file or directory
> > Microsoft Windows 2000 [Version 5.00.2195]
> > (C) Copyright 1985-2000 Microsoft Corp.
> >
> > C:\Program Files\OpenSSH>telnet
> >
> > C:\Program Files\OpenSSH>
> >
> > ______________________________________________________________________________________
> > François PIETRI
> > DEVOTEAM-SITICOM, équipe ingénierie et support réseau niveau 2
> >
> > Email : francois.pietri@total.com
> > Email support réseau niveau 2 : Holding.dsit-lan-pld-support@total.com
> > Tél. personnel direct : +33 (0) 1 41 35 66 26
> > Tél. support réseau niveau 2 : +33 (0) 1 01 47 44 70 70 ou +33 (0) 1 41 35 94 48
> > Fax. : +33 (0) 1 41 35 41 57
> > ______________________________________________________________________________________
> >
> > -
> > List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> > List Archives: http://erdelynet.com/archive/ssh-l/
> > To Unsubscribe: Go to the List Management page listed above.
> >
> > -
> > List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> > List Archives: http://erdelynet.com/archive/ssh-l/
> > To Unsubscribe: Go to the List Management page listed above.
> >
> > -
> > List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> > List Archives: http://erdelynet.com/archive/ssh-l/
> > To Unsubscribe: Go to the List Management page listed above.
>
> -
> List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> List Archives: http://erdelynet.com/archive/ssh-l/
> To Unsubscribe: Go to the List Management page listed above.
>
> -
> List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> List Archives: http://erdelynet.com/archive/ssh-l/
> To Unsubscribe: Go to the List Management page listed above.
-
List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
List Archives: http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to the List Management page listed above.
Received on Tue Apr 26 13:28:10 2005
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:19 EDT