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

13 lines
274 B
Markdown

# 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
4. `ssh <user>@localhost -p <Guest-Port>`