Centos7 one server logs in to another server and exits

Login ssh + ip

ssh 192.168.1.103 press enter and enter the password
Insert picture description here
and exit

Command Logout or exit

1: First use the Logout command to try to exit ssh, here you can see that the program is directly exited, and will print Connection closed by on the screen
2: Finally, use the exit command to try to exit, the effect here is the same as exiting with the Logout command Yes, of course the exit command is relatively short and the input is relatively convenient. The above is how to log out of ssh:

The two commands have the same effect

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_26634873/article/details/113101484