I am using a MAC and using virtualbox to start a Redhat instance. The instance is started with two adapters (first being NAT, and second being host-only-adapter). The problem is that I am unable to SSH from my Mac to the virtualbox instance using the IP (I am able to ping the IP, though). I checked in the iptables and SSH is allowed (port 22), and sshd daemon is also running. Anything I am missing?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
migrated from stackoverflow.com Sep 12 '12 at 14:36
|
Ah, I got the problem.. The thing was that I was using NAT as the network adapter one and hsot-only-adapter as the second one. I just needed to use the host-only-adapter as network adapter one and NAT as two, and the problem was solved. |
|||
|
|
ssh -v ...to get a clue? – cababunga Sep 12 '12 at 6:15ssh -v user@host. – cababunga Sep 12 '12 at 7:09OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to 192.168.56.101 [192.168.56.101] port 22. debug1: connect to address 192.168.56.101 port 22: Connection refused ssh: connect to host 192.168.56.101 port 22: Connection refused– Rajat Sep 12 '12 at 15:34