How do I change SSH port and protocol?
I have edited /etc/ssh/sshd_config and /etc/ssh/ssh_config and restarted SSH, but it doesn't work, and users get a Connection Refused error. Is there anywhere else I need to update?
How do I change SSH port and protocol?
I have edited /etc/ssh/sshd_config and /etc/ssh/ssh_config and restarted SSH, but it doesn't work, and users get a Connection Refused error. Is there anywhere else I need to update?
Last edited by BW -Tim; 08-25-2006 at 03:36 AM.
Port opened on firewall?
Yup, on both of themPort open on firewall![]()
Last edited by BW -Tim; 08-25-2006 at 07:17 AM.
Check /etc/services
Also change the ssh line in /etc/services to <portno.>
![]()
I've changed it, but it still doesn't work
Last edited by BW -Tim; 08-25-2006 at 07:16 AM.
Go through the following link:
http://forums.spry.com/showthread.php?t=98
Go through the following link:
http://forums.spry.com/showthread.php?t=98
![]()
How about editing /etc/xinetd.d/sshd? Find the port line and edit it to new port. Close, restart SSH?
I didn't have a /etc/xinetd.d/sshd file so created one and put in what that other thread said, and restarted SSH, but it didn't work.
When I unhash the protocol and port no from ssh_config and sshd_config files, SSH doesn't work, but WHM (specifically configserver firewall security scan) says the port has changed- could this have something to do with it?