# Secure Shell (opens new window)

# 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 (opens new window)

rsync (opens new window)