[Ilugc] Re: ssh connection refused

  • From: mehul.n.ved@xxxxxxxxx (Mehul Ved)
  • Date: Fri Jul 4 21:34:01 2008

On 7/4/08, Sudharshan S <sudharsh@xxxxxxxxx> wrote:

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.

No it isn't this way. Atleast it should connect to the server, only
then will it determine if the public key matches? The problem here is
he isn't able to connect at all.
I don't have the public key but still am able to connect.

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, ssh assumes your current username.

 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

It should connect still.
I tried with ssh -v unixpod.com and it connects, though my username is mehul.
The username and public keys can only come after the connection is
made. Here it is flatly refusing the connection. I am doubting that
outgoing traffic is blocked except for certain ports.

Other related posts: