Linux server common commands
Restart the server
Sudo reboot
Remotely connect to the server
Ssh user@222.22.22.2-p 2222-I ~ / .ssh/MyLinux-- use the username key port number
Ssh user@222.22.22.2-use user name to connect
Copy the remote server project to the local
Scp-p 2222-r user@222.22.22.2:/home/my/www / home/xiaoke/www/project_1-r directory copy
Copy a local project to a remote folder
Scp-p 2222-r project_1 user@222.22.22.2:/home/my/www
View the process
Ps aux | grep * *