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@10.47.5.100
ssh: connect to host 10.47.5.100 port 22: Connection refused

Please help.

Thanks,
Sen

link|improve this question

57% accept rate
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
show 2 more comments
feedback

1 Answer

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.

Sen

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.