![]() In other words, if the Host IP address is 192.168.1.30 and you want to gain access to that Guest from another machine on your 192.168.1.x network, you'd issue the command: ssh -p2222 USERNAME is a valid username on the Guest. You will be prompted for the user password and be given access.īut what if you're trying to gain access to the Guest from a machine other than the host? Simple, you'd use the Host IP address instead of 127.0.0.1. So if you're on the Host machine, you'll Secure Shell to the guest with the command: ssh -p2222 USERNAME is a valid username on the Guest. As it stands, we're routing port 2222 on the Host to port 22 on the guest. If the guest VM isn't running, start it up and wait for the boot process to complete. This is the most logical choice, as IP addresses change and you never know what address you'll be connecting from. One thing to note: Leaving the Host IP blank will default to 127.0.0.1 and leaving the Guest IP address blank will default to whatever IP address is assigned to the Guest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |