SSH

SSH(Secure Shell) is a network protocol that allows data to be exchanged over a secure channel between two computers.

Installation

pacman -S openssh

Server Usage

Configuration

The SSH daemon configuration file can be found and edited in /etc/ssh/sshd_config.

Daemon management

Start sshd:

systemctl start sshd.service

Set Port Forwarding in VirtualBox:

Name Protocol Host IP Host Port Guest IP Guest Port
SSH TCP 192.168.1.9 2222 10.0.2.15 22

Then connect the Guest like this:

ssh -p 2222 [email protected]

Allow root login

Edit the /etc/ssh/sshd_config , add a line like follows:

PermitRootLogin yes

results matching ""

    No results matching ""