I use fedora 16. From my machine if I connect to any machine within network, it can be connected easily. After connecting the machine if I type finger, it shows my machine also, but if I want to connect my machine from that machine via ssh username@IP it shows the following error 'ssh: connect to host 172.16.22.151 port 22: Connection refused'. This problem has arose suddenly. Few days back also I can connect to my machine from any machine. But I cannot connect now. Please help me.
service sshd status shows:
Redirecting to /bin/systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/lib/systemd/system/sshd.service; enabled)
Active: failed since Wed, 29 May 2013 12:58:02 +0530; 26s ago
Process: 2830 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
sshd is failed it shows:
This unit has failed: failed
It is not running or started or any thing else.
system-config-firewall is enabled and there ssh is ssh is checked and port/protocol status is 22/tcp
Please help me to solve the problem