![]() ![]() If all went well you should now be able to open a Terminal window on your Mac (or any machine on the same network if you’ve selected the “Brided” option in Parallels Desktop) like so: ssh replace 10.2.3.4 with your own IP address. If you had to un-comment either line, make sure you restart the SSH demon: service sshd restart do not have a # in front of them): PermitRootLogin yes Make sure the following two options are commented out (i.e. You do this by hacking the following file: Next we need to make sure that the SSH demon allows outside root connections. Make a note of this address, you’ll be connecting to your VM via this IP. The second line of the output holds our answer: “inet addr: 10.x.x.x”. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 ![]() TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 RX packets:1608 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 The easiest way to do this is to run ifconfig: ifconfigĮth0 Link encap:Ethernet HWaddr 00:1C:42:2E:7B:21 We need to find out which IP our instance has. Pick Bridged (Default Adapter) or Host-Only, then start your VM. Other devices on the network won’t be able to connect (more secure). Host-Only Network: also creates a new IP address for your VM, but only lets your Mac connect to the instance.This will let other devices on your network connect to the VM. Stick to the “Default Adapter” here unless you know what you’re doing. Bridged Network (with several options): creates a new IP address for your VM and attaches it to whichever device you choose. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |