Originally Posted by salimshahzad
when we try to connect it does not work
- On the server-side check the clients ~/.ssh directory and files for the right permissions (see 'man ssh' the FILES section).
- On the client using ssh in debug mode adding triple "v"s like "ssh -v -v -v user@host" could should clues.
- Server-side check /var/log/secure as the sshd by default logs there. Can't hurt to check /var/log/messages while you're at it.
- On the server-side starting sshs in debug mode (on another port or else you lose access
: ensure the firewall on both sides does not block traffic to that port) adding triple "d"s like "sshd -d -d -d -e > /tmp/sshd_debug.log 2>&1" could should clues.
Please post (preferably in BB code) or attach logs.