Ssh remote logon command simple instance ssh command is used to remotely log on to a Linux host. Common Format: ssh [-l login_name] [-p port] [user @] hostname. For more details, refer to ssh-h. For example, if you do not specify user: ssh 192.168.0.11 specify user: ssh-l root 192.168.0.11 ssh root@192.168.0.11 if you have modified the ssh Login port, you can: ssh-p 12333 192.168.0.11 ssh-l root-p 12333 216.230.230.114 ssh-p 12333 root@216.230.230.114 also modify the configuration file/etc/ssh/sshd_config, you can change the ssh Login port and disable root login. Modify the port to prevent port scanning. Edit the configuration file: vim/etc/ssh/sshd_config find # Port 22, remove the comment, change it to a five-digit Port: Port 12333 find # PermitRootLogin yes, remove the comment, and modify it: permitRootLogin no restart sshd service: service sshd restart