Summary Linux command list
A Linux command for logging in to a remote host or executing a command using the ssh protocol. "ssh" is an abbreviation for "secure shell".
$ssh username@Host name of the connection destination(IP address)
#IP192 as root user.168.x.When connecting to x
$ ssh [email protected]
option | Description |
---|---|
-p | Specify the port number used for connection |
-i | Specify the public key file to use for the connection |
-l | Specify the user name used to connect |
#Specify the port number used for connection
$ ssh -p 22 [email protected]
# /home/Specify the public key under hoge
$ ssh -i /home/hoge/xxxxx [email protected]
#IP192 as root user.168.x.Connect to x
$ ssh -l root 192.168.x.x
pwd, mkdir, cd , cat, cp, ls, touch, less, mv, rm, ssh, man, ** Adding at any time **
We undertake various development and construction contracts and mentor work for beginners. If you are interested, please go to ** here **
Recommended Posts