1827421 Members
4252 Online
109965 Solutions
New Discussion

Re: SSH doesnot work

 
Jahrul Alam_1
New Member

SSH doesnot work

Hi
I am running PCQ-Linux7.1 on an HP-NetServer and Redhat 7.0 on another PC. I can not login from one to another. I can login to other machines that are outside my area. It seems that I am not giving permission to logon to my PCs. Can any one help me to troubleshoot this.

Thank you

Jahrul
4 REPLIES 4
Eugen Cocalea
Respected Contributor

Re: SSH doesnot work

Hi,

Can you telnet from one to another? What errors do you get when you try to ssh?

Usualy, you get 'Secure connection to refused' which is caused by the fact that the ssh daemon is not running on .

E.
To Live Is To Learn
Bernie Vande Griend
Respected Contributor

Re: SSH doesnot work

As Eugen says, if you give us a few more details, we can help. The first thing to check is that there are no network issues between the two, that you can ping, telnet, ftp (if you allow those services. And then make sure sshd is running on the server you are connecting to.

Also, if you use the -v option with ssh as you attempt a session, it will give detailed information as to what is going on during the connection. If you post that information to us, we should be able to help.
Ye who thinks he has a lot to say, probably shouldn't.
Mark Fenton
Esteemed Contributor

Re: SSH doesnot work

Adding my $.02 :

Especially under RH 7.0 -- check the config for the ssh service in /etc/xinetd.d directory. There should be a file sshd there, with a line stating the service is allowed. Most remote connections are refused by default (including ssh!).
Jahrul Alam_1
New Member

Re: SSH doesnot work

Hi
It's me again. Actually the problem was caused by the default firewall that comes with PCQLinux7.1 (PCQ and Redhat should be the same). I just disabled the firewall and ssh worked.

Thanks all for the advices.

Jahrul