Skip to content

SSH

SSH is the Secure SHell, and it is widely used to remotely control computers from the command line. Here's a typical example of a connection to a remote computer via SSH:

ssh user@10.0.2.4

Note

VirtualBox users will have to use the port forwarding trick, and connect with a command similar to this:

ssh user@127.0.0.1 -p 2222

See this link to find out how to enable and use port forwarding in VirtualBox.

Here's an introductory video on SSH. Enjoy!

Some commands on Linux:

  • Check if an openssh server is running:

systemctl status sshd

  • Install openssh server (on Debian):

apt install openssh-server

  • Install openssh client (on Debian):

apt install openssh-client