[GLLUG] Fedora SSH Problem

Steve Parker steve at steve-parker.org
Mon Mar 24 22:23:49 UTC 2014


On 24/03/14 20:53, Mick Farmer wrote:
> Due to refurbishment, my work machine was switched off, moved into
> another room, and then restarted.
>
So the SSH daemon will have been restarted. If /etc/ssh/sshd_config had 
been changed whilst the machine was running, the new settings will start 
to take effect once the machine is rebooted.

Troubleshoot at both ends at once:
SERVER: In /etc/ssh/sshd_config, set "LogLevel DEBUG" and restart sshd, 
then "tail -f /var/log/secure"
CLIENT: Log in using "ssh -vvv ...." (where ".... is whatever you would 
usually use - that is, add "-vvv" to the normal ssh command.

You should see what's going wrong with the public key authentication, 
most likely in /var/log/secure on the server, but there may be clues on 
the client too. If you get "permission denied" in /var/log/secure on 
reading the authorized_keys file, and SELinux is enabled (check with 
"getenforce"), then also check /var/log/audit/audit.log for SELinux details.

Steve




More information about the GLLUG mailing list