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

Re: [cobalt-users] Fwd:ssh - problem - nearly there



>> 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