[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't connect to local machine using ssh



Micha Feigin wrote:
Doesn't seem to be that. Also I just tried to create a new user on the machine
and that user can login with no problem, only the original one (and root which
seems to be enabled in the setup file)  can't. could this be  a shell setup
problem?


Is there a .ssh/config file in your home directory? You might want to check its contents.

Also "grep sshd /var/log/auth.log" after a failed login might shed some light as to what is going on.

On Tue, 6 Nov 2007 13:12:45 -0900
Ken Irving <fnkci@uaf.edu> wrote:

On Tue, Nov 06, 2007 at 11:44:29PM +0200, Micha Feigin wrote:
I installed openssh server and client but I still can't connect to the local
machine, neither remotely or localy

ssh localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 86:df:53:2d:84:7e:e9:f4:8e:f8:06:ac:73:1b:05:f3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
micha@localhost's password: Connection closed by 127.0.0.1

I think that I enabled password login in /etc/ssh/sshd_config but I may have
missed it. If it makes a difference, its a thinkpad with fingerprint reader
enabled which works for local login but also with a password
Something I miss just about every time is to add the/your user to a list
of allowed users in /etc/ssh/sshd.conf or similar.  Just a thought.

Ken





--
Raj Kiran Grandhi



Reply to: