Random Noise

cat /dev/random >> /dev/dsp

ssh: Server refused our key

leave a comment »

I know you must be banging your head against the wall over this. I did.

Make sure use are logged in as the user you want to give ssh permission to:

su sshuser
cd ~/

All you need to do is fix the permissions and owner on .ssh and authorized_keys:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
chown sshuser:sshuser ~/.ssh
chown sshuser:sshuser ~/.ssh/authorized_keys

This should do the work.

Advertisements

Written by Vivek Unune

December 17, 2012 at 4:47 pm

Posted in linux

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: