[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Fwd:ssh - problem - nearly there
- Subject: Re: [cobalt-users] Fwd:ssh - problem - nearly there
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Jul 18 00:56:52 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>> ssh -l username www.servername
>> #3 but it keeps asking for my password what do i do to fix this?
>> the same when i run
>> slogin
>>
>> have uploaded my .ssh/identity.pub to server but still no go/
>
> Run ssh with the "-v" switch. It'll be verbose and probably tell you that
> the permissions on your homedir are not as ssh likes it. <guessing>
I had a permissions problem when trying to do this. Make sure that your
.ssh/authorized_keys2 file is chmod 600. Also, check your /var/log/messages
file and it should help you troubleshoot the issue. Try to log on via SSH
and then tail your logs. Something like:
tail -n 20 /var/log/messages
I also had to change the permissions on my user directory to chmod 0750. In
my case it was the admin user. e.g.
chmod 750 /home/sites/home/users/admin
HTH,
j