[xubuntu-users] sshd not accepting connections
Knute Johnson
ubuntu at knutejohnson.com
Thu Jun 28 23:48:26 UTC 2012
On 6/28/2012 4:21 PM, MR ZenWiz wrote:
> > Then if it is running:
> > $ ps ax | grep ssh
> > and
> > $ sudo service sshd status
> >
> Ps shows several outgoing ssh's and one sshd -D.
>
> Service status says "unrecognized service."
>
> > Then if it is listening on the right port:
> > $ sudo netstat -tlpen
> This only shows tcp and tcp6.
Is there an entry that looks like this?
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 0 7036 854/sshd
Look at /etc/ssh/sshd_config and find the Port option and make sure it
says Port 22. In fact you could post that config file without the comments.
And it should be sudo service ssh status and that should show the -D
service running.
--
Knute Johnson
More information about the xubuntu-users
mailing list