I've freshly setup a rather standard current Arch Linux and encounter a problem that I can not get a grip on:
- DHCP service is enabled and network is online (ping succeeds with hostname and IP address)
- OpenSSH service is enabled
- OpenSSH config allows public key and password
But I can not connect via SSH unless I also log in locally. Once I logged in locally once, I can logout in and out via SSH without problems, even when the local session is exited.
Journal says that SSH server starts up well before the local login.
Edit: Error message from Putty is "Connection refused"
ssh -vvv user@hostand the contents of the SSH daemon's log when attempting a connection would be helpful.