[PLUG] Configuring /etc/ssh/sshd_config
Rich Shepard
rshepard at appl-ecosys.com
Sat Feb 7 20:36:45 UTC 2015
On Sat, 7 Feb 2015, Robert Citek wrote:
> I suspect that something happened to your ~/.ssh/authorized_keys file on
> salmo, or you have a different user on salmo than on caddis, or something
> happened to your private key on caddis.
Robert,
Salmo's the server (running sshd) while caddis is the laptop (running
ssh).
> To tackle those in the revers order, run this commands on caddis and post
> the output here:
>
> ls -la ~/.ssh/
Host caddis' ~/.ssh/:
[rshepard at caddis ~]$ ls -la .ssh
total 40
drwx------ 2 rshepard users 4096 Feb 7 08:49 ./
drwx--x--x 118 rshepard users 12288 Feb 7 11:31 ../
-rw------- 1 rshepard users 1239 Nov 8 2010 authorized_keys2
-rw-r--r-- 1 rshepard users 100 Feb 7 08:49 config
-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 7448 Feb 7 08:12 known_hosts
I've been using only the DSA, not RSA, keys.
The server, salmo, has both keys in /etc/ssh/:
-rw-r--r-- 1 root root 242153 Dec 9 18:31 moduli
-rw-r--r-- 1 root root 1574 Mar 27 2014 ssh_config
-rw-r--r-- 1 root root 1574 Feb 7 09:37 ssh_config.works
-rw------- 1 root root 668 Nov 8 2010 ssh_host_dsa_key
-rw-r--r-- 1 root root 600 Nov 8 2010 ssh_host_dsa_key.pub
-rw------- 1 root root 227 Mar 9 2014 ssh_host_ecdsa_key
-rw-r--r-- 1 root root 172 Mar 9 2014 ssh_host_ecdsa_key.pub
-rw------- 1 root root 399 Jun 17 2014 ssh_host_ed25519_key
-rw-r--r-- 1 root root 92 Jun 17 2014 ssh_host_ed25519_key.pub
-rw------- 1 root root 525 Nov 8 2010 ssh_host_key
-rw-r--r-- 1 root root 329 Nov 8 2010 ssh_host_key.pub
-rw------- 1 root root 887 Nov 8 2010 ssh_host_rsa_key
-rw-r--r-- 1 root root 220 Nov 8 2010 ssh_host_rsa_key.pub
-rw-r--r-- 1 root root 3707 Feb 7 11:24 sshd_config
-rw-r--r-- 1 root root 3714 Feb 7 09:37 sshd_config.works
drwx------ 2 root root 4096 Nov 8 2010 supervise/
Notice that id_dsa, id_dsa.pub, ssh_host_dsa_key, and ssh_host_dsa_key.pub
all have the same date stamp: 2010-11-08.
Thanks,
Rich
More information about the PLUG
mailing list