[PLUG] Configuring /etc/ssh/sshd_config

Jim Garrison jhg at jhmg.net
Sat Feb 7 22:59:34 UTC 2015


On 2/7/2015 1:38 PM, Rich Shepard wrote:
> On Sat, 7 Feb 2015, Jim Garrison wrote:
> 
>> Oops, I was unclear in my last email.  On salmo the public key goes in
>> authorized_keys as a single (long) line. This is in ~/.ssh of the user ID
>> you'll be logging in as.
> 
> Jim,
> 
>    Yeah, it's easy to be ambiguous with ~/.ssh/ :-)
> 
>    Here's salmo/~/.ssh/
> 
> -rw------- 1 rshepard users 1239 Nov  8  2010 authorized_keys2
> -rw------- 1 rshepard users  736 Nov  8  2010 id_dsa
> -rw------- 1 rshepard users  620 Nov  8  2010 id_dsa.pub
> -rw------- 1 rshepard users 3513 Jul  9  2011 known_hosts

OK, now in that directory do

   mv id_dsa.pub authorized_keys

I don't think authorized_keys2 is used any more.  If it contains
other keys you want to use, in the same format, then do

   cat authorized_keys2 >> authorized_keys

-- 
Jim Garrison (jhg at acm.org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88



More information about the PLUG mailing list