[PLUG] Configuring /etc/ssh/sshd_config

Rich Shepard rshepard at appl-ecosys.com
Sat Feb 7 21:38:17 UTC 2015


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

   Here, id_dsa.pub has 1 entry:

ssh-dss ... rshepard at salmo.appl-ecosys.com

and authorized_keys2 has 2 entries:

ssh-dss ... rshepard at lemna.appl-ecosys.com
ssh-dss ... rshepard at pachy.appl-ecosys.com

   Shouldn't the public key be the same for all hosts?

   On the laptop, caddis, id_dsa.pub terminates with
rshepard at salmo.appl-ecosys.com.

   Do I generate a new key pair on the laptop, then append the new id_dsa.pub
to the server's authorized_keys2 file?

Thanks,

Rich



More information about the PLUG mailing list