Network
The ssh command
Opens a session on another machine, encrypted. The gateway to servers.
Syntax
ssh [usuario@]hostMost useful options
-pA port other than 22-iUse a specific private keyCopy-ready examples
$ ssh invitado@servidor-aulaLog into another machine$ exitClose the connectionYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- The first time it asks you to accept the server fingerprint: that is normal.
FAQ
How do I leave an ssh session?
Typing exit: it closes the connection, not your terminal.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course