[Ilugc] Re: ssh connection refused

Aditya M aditya87 at gmail.com
Fri Jul 4 21:34:01 IST 2008


On Fri, Jul 4, 2008 at 8:46 PM, Sudharshan S <sudharsh at gmail.com> wrote:

> On Fri, Jul 4, 2008 at 8:29 PM, sivaji j.g <sivaji2009 at gmail.com> wrote:
>
> > sivaji at dappyboy:~$ ssh unixpod.com
> > sivaji at unixpod.com'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 at unixpod.com
>
> 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 at ubuntu-family:~$ ssh student at unixpod.com
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 at unixpod.com's password:
Permission denied, please try again.
student at unixpod.com's password:

So I guess everything is fine now?

-- 
Aditya Manthramurthy
B. Tech, CSE NIT Trichy


More information about the ilugc mailing list