NEW: cannot ssh to my computer

Michael Smith mksmith at noanet.net
Sat Nov 20 21:34:50 PST 2004



-----Original Message-----
From: Ivan Georgiev [mailto:georgiev at vt.edu] 
Sent: Saturday, November 20, 2004 6:11 PM
To: freebsd-questions at freebsd.org
Cc: Michael Smith
Subject: Re: NEW: cannot ssh to my computer

> Hello,
>
> Please excuse my re-posting of the same problem but, simply, I have no
> clue
> how to fix my account. Below you can see the previous postings. What
> puzzles
> me is that if I create a new user this user can connect trough ssh
with
> no
> problems. Only my account is rejected.
>
> Thank you for your help,
> Ivan
>
>
> -----
>
> Hello Ivan:
>
> Have you confirmed that all of your local files have the correct
> permissions *and* ownership?  Are you the appropriate owner of your
own
> directory?
>
> Mike

Hi Mike,

Yes, all of the files/directories in my home directory have the right 
ownership. I do not know what you mean by "right permission" since each
type 
of file can have different permissions. If you meant the permissions in
my 
~/.ssh directory they are:

bash-2.05b$ ll
total 234
drwx------   2 ivan  ivan     512 Nov 19 22:05 .
drwxr-xr-x  28 ivan  ivan  198656 Nov 20 21:04 ..
-rw-r--r--   1 ivan  ivan     595 Nov 19 22:05 authorized_keys
-rw-------   1 ivan  ivan     668 Nov 19 22:00 id_dsa
-rw-r--r--   1 ivan  ivan     595 Nov 19 22:00 id_dsa.pub
-rw-r--r--   1 ivan  ivan    1817 Nov 20 14:20 known_hosts

Another interesting thing that I missed before in var/log/messages is :
....
sshd[45489]: error: PAM: success for ivan from ........
....

while in /var/log/auth.log I see:
sshd[45489]: Failed keyboard-interactive/pam for ivan from ... port
56269 ssh2

Thanks for your help,
Ivan

---------

This may be a stretch but I know that SSH can be quite finicky about
directory permissions.  Try setting your .ssh directory to 0700.  I
think the go+x on the directory itself may be causing you problems.

Mike







More information about the freebsd-questions mailing list