ssh [option] hostname [cmd]
ssh: One of the Secure Shell Protocol and network protocol. When communicating with each other through a public network like the Internet like computer to computer Protocol used for security.
SSH Client -> SSH Protocol <= SSH Server
option | Command content |
---|---|
-i | Private key file(identity file specification) |
-l | Specify login user name |
-p | Specify the port number |
-x | Enable X11 forwarding |
-1 | Uses SSH protocol version 1 |
-2 | Uses SSH protocol version 2 |
-4 | Use IPv4 |
◆ ls: Display a list of folders / files ◆ cd: Move the folder location ◆ pwd: Display the current folder position ◆cp : folder/file copy ◆mv : move ◆rm : remove ◆ mkdir: Create make directory? Folder
Recommended Posts