SSH

  1. Create ssh key: ssh-keygen
  2. Copy the public key to host: ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host (will be added in .ssh/authorized_keys)
  3. Edit your ~/.ssh/config file:
      Host remote-host
      Hostname 128.178.xx.xx
      user root
      forwardagent yes
      forwardx11 yes
      forwardx11trusted yes