Duyên Trương
New member
How can I tell if SSH is running on Linux?
Answer
Changing the SSH Port for Your Linux Server
Answer
Changing the SSH Port for Your Linux Server
- Connect to your server via SSH (more info).
- Switch to the root user (more info).
- Run the following command: vi /etc/ssh/sshd_config.
- Locate the following line: # Port 22.
- Remove # and change 22 to your desired port number.
- Restart the sshd service by running the following command: service sshd restart.