Files
notes/ressources/linux-server/ssh-to-vm.md
2025-02-08 21:56:24 +01:00

274 B

ssh connection

  1. Go to 'network' settings in the vm.
  2. Use 'NAT' as 'attached to'.
  3. Go to advanced settings and create port forwarding rule for ssh:
  • Name: Arbitrary
  • Guest Port: 22
  • Host Port: Arbitrary
  • Protocol: tcp
  1. ssh <user>@localhost -p <Guest-Port>