1, SSH [-l login_name] [-P port] [[Email Protected]]hostname
Example:
Do not specify User:
SSH 192.168.0.11
Specify User:
Ssh-l Root 192.168.0.11
SSH [email protected]
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 [email protected]
In addition to modify the configuration file/etc/ssh/sshd_config, you can change SSH login port and disable root login. The port can be changed to prevent the port from being scanned.
To edit a configuration file:
Vim/etc/ssh/sshd_config
Locate #port 22, remove the comment, and modify it to a five-bit port:
Port 12333
Find #permitrootlogin Yes, remove the comment, and modify it to:
Permitrootlogin No
To restart the SSHD service:
Service sshd Restart
2, PS
Ps-eo Pid,comm,cmd
Ps-a
3, Free-h
4, Df-l
5, ls-l/dev |grep ttyusb
6. CP
7. SCP
8. Tar
9, reboot
10, shutdown
11, reboot
12.
Linux Command Usage record