first commit
This commit is contained in:
12
ressources/linux-server/ssh-to-vm.md
Normal file
12
ressources/linux-server/ssh-to-vm.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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>`
|
||||
Reference in New Issue
Block a user