PDA

View Full Version : Why does my ssh keep dropping after changing its port


pushback
2005-09-08, 07:56 PM CDT
I modified my sshd config so I am now using a non-standard port. Back when I had it on the standard port my ssh sessions never dtopped. Now, with the non-standard port my sessions keep dropping after a minute or so.

I don't see anything in the logs that gives any hints. Any ideas?

defkewl
2005-09-08, 09:38 PM CDT
Try changing the entry for port 22 from /etc/services

CMIIW

pushback
2005-09-09, 07:11 PM CDT
Thanks for the suggestion. I changed the entry, restarted the network and sshd and it still drops.

Any other ideas, anyone?

tashirosgt
2005-09-09, 09:12 PM CDT
Try ssh with the -v option and see if the verbose mode tells more. Is this an ssh between two Linux machines. Does it get dropped no matter which machine starts the ssh session?