unable to ssh remote server (firewall turn off)
i m unable to ssh my one centos 5.6 remote server from my one server
plz check below output Code:
ssh -v root@sxyz.abc.com i can able to ssh from my home or any other pc to remote pc so i don't think there is any problem in target pc |
Normally, after "loaded 3 keys", you should have something like :
Code:
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 In order to have more information, you could, for example, increase the level of verbosity in for remote ssh daemon. Another solution for having more information, but this time on the client side, is to catch all systems calls launched during the execution of the ssh command : Code:
strace ssh -v remoteuser@remotehost &>/tmp/ssh.out Code:
reset On my system, thanks to strace, I see what happens after the "debug1: loaded 3 keys" message : - loading of local file /etc/passwd - reading of the line of root in the local file /etc/passwd - reading of the SSHD banner sent by the remote machine ; here : SSH-2.0-OpenSSH_4.3 - ... |
Code:
ssh -vvvvvvv root@1.1.1.1 |
Is the ssh server daemon running on the target computer?
|
Quote:
Code:
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 Quote:
|
Quote:
ankitsagwekar It looks like an issue with the root rsa key in the client PC. try to log in with a different user to your client PC and then ssh root@abc.xyz.com |
ankitsagwekar, this is slightly off topic of the question you are asking, you might want to have a look at this thread: http://www.linuxquestions.org/questi...erences-45261/ At the bottom, in post 7, there are several links and tips on how to properly secure your SSH server once you have it running.
|
Quote:
Quote:
|
The debug messages below
Quote:
If the problem is on the local machine, strace may give some hints. If the problem is between the local machine and the distant machine, tcpdump on either side may give some hints. |
Hi Ankit, I'll suggest to check /etc/hosts.deny and /etc/hosts.allow from remote server and also check you /var/log/secure.
|
All times are GMT -5. The time now is 11:32 PM. |