Running SSHD on an alternate port and connecting to the service

Use the procedure below to change the port that sshd is listening on to 9203:

Warning: Incorrectly following this procedure may render your server unreachable through SSH. If by following this procedure you are locked out of your server, and you require Spry Support to reset SSHD, you may incur a support fee for resetting SSH on your server.

1. From your terminal session, edit /etc/ssh/sshd_config

bash-2.05b# vi /etc/ssh/sshd_config
2. Look for the following line:

#Port 22
3. Change the line so it looks like this:

Port 9203
4. Save and close the file

5. Load the new configuration by using the RedHat service command

bash-2.05b# service sshd reload
Note: you may immediately lose connectivity to your server on the open ssh session you are currently running.

6. Test the connection

(tres@Ishmael)(~/Desktop) $ ssh -p 9203

Your Answers

Your Name:
Your Answers :
<> is a code tag
Enter the verification code:


No Answers..