On 30/06/00 10:13 +0530, Muthu Mohan.T spewed into the LI bitstream:

>Dears,
>
>    When I telnet to my Linux Machine on port 22. It is giving like this? How
>to fix it?

Dont telnet to port 22 - that's the ssh port and it requires login and
password upfront.  That's all is the matter.

>[root@www] ~# telnet 192.168.1.1 22
>Trying 192.168.1.1...
>Connected to www.mytux.com (192.168.1.1).
>Escape character is '^]'.
>SSH-1.5-1.2.27
>Connection closed by foreign host.
>[root@www] ~# 

Do this instead

$ ssh -u nortonmohan -C 192.168.1.1

You will, ideally, get

nortonmohan's password: ************

[nortonmohan@localhost]$


or do

$ ssh -C nortonmohan@[192.168.1.1]
nortonmohan's password: **********

Don't use telnet to connect to the ssh port.

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
First Corollary of Taber's Second Law:
        Machines that piss people off get murdered.
                -- Pat Taber

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to