20070524 ssh authorized_keys problems - plembo/onemoretech GitHub Wiki

title: ssh authorized_keys problems link: https://onemoretech.wordpress.com/2007/05/24/ssh-authorized_keys-problems/ author: lembobro description: post_id: 710 created: 2007/05/24 12:53:00 created_gmt: 2007/05/24 12:53:00 comment_status: open post_name: ssh-authorized_keys-problems status: publish post_type: post

ssh authorized_keys problems

A post from “Pyx”, verbatim, that bears reading:

Note to self: whenever you have problems with SSH authorized_keys not working, check the permissions on the directories and files. Here are some quick instructions for getting SSH authorized_keys working on a new host:

ssh to the remote host and:

mkdir .ssh
chmod 700 .ssh

Back on the local machine:

cat .ssh/id_dsa.pub | ssh remotehost “cat > .ssh/authorized_keys; chmod 600 .ssh/authorized_keys”

Posted by Donovan at 10:27:43

Copyright 2004-2019 Phil Lembo