On 9/14/19 5:20 AM, Bob Goodwin wrote:
On 09/13/19 15:42, Samuel Sieb wrote:
Have you checked the server logs? Maybe you have password authentication turned off? ____
. Not until you asked, then I can ssh as root. Tried journalctl -e after an ssh bobg@box48 but all the file times are about 6 minutes earlier?
I must be doing something wrong there ...
and there are logs in /var/log but nothing is obvious.
Too much information there, I'm overwhelmed with log data.
Are you saying that you have now turned off password authentication on the server?
Are you saying that you have,
PasswordAuthentication no
set on the server in /etc/ssh/sshd_config?
If this is the case, and if you've been using keys for authentication it can mean that you've changed the permissions of user bobg ~/.ssh. It should be 700.
Also, the files within ~/.ssh should be owned by bobg and have 600 permissions. Especially authorized_keys.