Xubuntu 14.04, OpenSSH Server works once then stops
Posted on 2014-09-03
Fresh Xubuntu install in an ESXi 5.5 vm, first thing after reboot was installing OpenSSH-server, which happened without incident. Ran sudo service ssh status, which was running.
Opened Putty on Win8 client, successfully logged into the Xubuntu server as adminuser. Closed out ssh, editing sshd_config:
PermitRootLogin without-password yes
Then I stopped, started ssh and now Putty will not connect with: Connection refused.
ps ax | grep ssh:
1525 ? Ss 0:00 ssh-agent -s
2189 pts/8 0:00 grep --color=auto ssh
I had a small issue earlier where 'sudo service ssh stop/start/restart' returned an unknown service. I fixed it by running initctl reload-configuration.
Now I can start, stop or restart ssh perfectly.. but and maybe things changes since 12.xx but I thought the ssh server deamon was sshd... shouldn't i need to make sure sshd is running somewhere?
ps ax | grep sshd:
2192 pts/8 S+ 0:00 grep --color=auto sshd
OH almost forgot.. UFW is 'inactive'