command: ssh
use ssh command to connect to remote linux server.
-p port
-l login user name
connect to remote server
ssh -p 42137 [email protected]
ssh -l root -p 42137 43.75.10.38
You can modify /etc/ssh/sshd_config file to change ssh connection port and permit root login.
`vim /etc/ssh/sshd_config`
Add following lines:
`Port 12333`
`PermitRootLogin no`
Restart your sshd service:
`service sshd restart`