This hosting maintenance note, published on February 4, 2016, is titled "7 Common SSH Commands and Usages Compiled for VPS Beginners".
Data center and resources
This method can be used to connect from the current server to a remote server with a specified user and IP address.
Matters mentioned in the article
- First, prevent SSH login timeout and being kicked out.
- 1. Modify /etc/ssh/sshd_config
- 2. Restart sshd
- Second, change the SSH port.
- 1. /etc/ssh/sshd_config
- Third, disable root user.
- Fourth, add users with regular permissions.
- Fifth, remote connection to the host.
- Sixth, connect to the specified port of the remote server.
- Seventh, modify the SSH login welcome message.