ssh
Linux · Network · available in the simulator
What it does
Connects to a remote system using SSH.
Syntax
ssh [opciones] [usuario@]servidor [comando]
Options and parameters
-pPort to connect to on the remote host.
ssh -p 2222 ana@servidor-iSelects a file from which the identity (private key) for public key authentication is read.
ssh -i ~/.ssh/clave.pem ana@servidor-vVerbose mode, informative debugging messages about connection progress.
-LSpecifies local port forwarding to the remote host.
-RSpecifies remote port forwarding to the local machine.
-XEnables X11 forwarding.
-NDo not execute a remote command; useful for just forwarding ports.
Usage examples
ssh usuario@servidorssh -i clave.pem usuario@hostssh -p 2222 ana@servidorssh -i ~/.ssh/clave.pem ana@servidor