Using the built-in SSH client in Mac OS X. Mac OS X includes a command-line SSH client as part of the operating system. To use it, goto Finder, and selext Go - Utilities from the top menu. Then look for Terminal. Terminal can be used to get a local terminal window, and also supports SSH.
Premise: you need to connect to the server IP, port number, server account and password
1. First open the terminal, and then type sudo Su – enter to enter the root directory
2. Then enter: SSH – P port number server user name @ IP (for example, SSH – P 22 [email protected]
）Enter, to this will let you enter yes or no to confirm the connection, enter yes, enter enter
3. Then enter the user password on the server and press enter
4. Here you enter the directory of your account on the server, that is, the connection is successful
Finally, enter sudo Su – to enter the root directory of the server for operation
Connection settings alias
Oracle sql developer 4.0 download. Install sql-cli (unless already installed)Run the following command to install the sql-cli command line tool.
Mac Terminal Ssh Download File Linux
Use the VI command to edit ~ /. SSH / config (if there is no such file in the directory, you can create a new one), and then add the content in the following format:
Terminal Ssh Windows
In addition, if you want to see which servers are currently configured with aliases, you can use the command cat ~ /. SSH / config grep “host”
This article introduces the method of MAC using shell (terminal) SSH to connect to remote server. For more content about shell SSH connection to remote server, please search the previous articles of developeppaer or continue to browse the related articles below. I hope you can support developeppaer more in the future!