Using Putty with newly created VM



0
I don't seem to be able to get Putty to SSH into the newly created VM in VirtualBox. I have assigned the 192.168.1.70 IP per the lab.

Must be a VirtualBox-specific issue.

Any pointers would be greatly appreciated.

3 Answer(s)


1

hi Edurado,

One way to access VM through Putty is to enable "Port Forwarding". Click on the VM and go to Settings ->Network->Port Forwarding.

Please try this and let us know if this works.

Thanks

1

This was due to my lack of understanding on how VirtualBox works.

At work, due to firewall settings, VirtualBox only works with NAT. In this case, I seem to be able to Putty to it by using the IP reported for VirtualBox under Windows with 'ipconfig'. Not the IP reported by ifconfig under CentOS.

At home, I can use NAT and Bridge. I can Putty using the IPs reported on the bridged connection.

However, since I'm a novice on VirtualBox, I decided to give VMWare a try and followed the instructions on the following URL to configure my 3-node cluster.

http://1stopit.blogspot.com/2013/11/creating-centos-64-minimal-vm-with.html

VMWare automatically assigns IPs and I can putty to those regardless of location. My cluster is using:

NN1 - 192.168.247.141
DN1 - 192.168.247.144
DN2 - 192.168.247.145

I can run HDFS commands, i.e.
#hadoop fs -mkdir /user/hadoop
#hadoop fs -put test.txt /user/hadoop

0

Due to kernel permissions, unless running as a super user, encryption cannot be loaded into the kernel by VirtualBox to set up a bridge on a wireless network. If however, you have a completely open wireless network, it should work. You shouldn't be running VirtualBox as a super user. If you run with a wired connection then VirtualBox as a normal user will be able to bridge your connection without further intervention.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password