Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What could be the possible solution to solve this problem in my fedora 11 pc which is not allowing any users to connect to it via ssh? But the reverse is possible, i.e. i am able to connect to other PCs from this problem PC via ssh.

This is the out put i see:

[root@myFedoraPC]# ssh sen@
ssh: connect to host port 22: Connection refused

Please help.


share|improve this question
Are you sure you a) installed openssh-server and it is running and b) that you aren't running the built-in firewall? – slhck May 28 '11 at 10:25
how to check if openssh-server is running or not? – Sen May 28 '11 at 11:25
i have already disabled firewall.. – Sen May 28 '11 at 11:26
@Sen Try service sshd start and see what it outputs. Also see this answer – slhck May 28 '11 at 11:28
Actually it was a problem with my /var/empty directory. It had full permissions, which was not allowed. – Sen May 28 '11 at 13:01

Just went to / path.
Checked the permissions and found that someone has given the /var directory full permissions(0777 mode).

Went into superuser mode and changed the /var permissions to "0755".
And everything was working fine.

Thanks for all your helps.


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .