[Ilugc] Re: ssh connection refused

  • From: aditya87@xxxxxxxxx (Aditya M)
  • Date: Fri Jul 4 21:34:13 2008

On Fri, Jul 4, 2008 at 8:46 PM, Sudharshan S <sudharsh@xxxxxxxxx> wrote:

On Fri, Jul 4, 2008 at 8:29 PM, sivaji j.g <sivaji2009@xxxxxxxxx> wrote:

sivaji@dappyboy:~$ ssh unixpod.com
sivaji@xxxxxxxxxxx's password:


Maybe it's because the unixpod public key is in your known_hosts in your
local workstation but not in your college computer from which you are
trying
to access unixpod. I have a hunch that if you don't give the user name, ssh
automagically substitutes the remote user id as the one with which you
currently logged in. Can anyone confirm this?


Yes, I can. It can be found in man pages. I do it pretty often.


So going by that logic, you are trying to login from "student" user account
in your college. Subsequently ssh tries to login as
$ ssh student@xxxxxxxxxxx

which i am sure doesn't exist


No. This is not right. ssh will anyway ask for the password, take it and
then say that its a wrong password.

Anyway it seems to work as expected now:

adi@ubuntu-family:~$ ssh student@xxxxxxxxxxx
The authenticity of host 'unixpod.com (12.205.155.236)' can't be
established.
RSA key fingerprint is de:a6:3d:d8:09:26:ce:63:67:e6:ec:c8:81:38:a2:0d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'unixpod.com,12.205.155.236' (RSA) to the list of
known hosts.
student@xxxxxxxxxxx's password:
Permission denied, please try again.
student@xxxxxxxxxxx's password:

So I guess everything is fine now?

-- 
Aditya Manthramurthy
B. Tech, CSE NIT Trichy

Other related posts: