- Network
- Set "NAT"
- Click "Port Forwarding"
- "Insert new rule" (right-hand nav button)
- Rule 1
- Host IP: 127.0.0.1
- Host port: 2222
- Guest IP: [leave blank]
- Guest Port: 22
ssh -p 2222 myuser@localhost
where myuser is user you created when you installed Linux OS on to VM.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.