# Secure Shell

# ssh key

# VM

# host

~/.ssh/config

Host pureos
  HostName localhost
  Port 2222
  User USERNAME
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/id_rsa

# guest

add your pub key to ~/.ssh/authorized_keys

# port forwarding

host port 2222 to guest port 22

ssh pureos

# more

scp

rsync