Page 1 of 1

ssh 127.0.0.1 fails on openSUSE 11.3 guest

Posted: 23. May 2011, 22:00
by gcstoianowski
I have successfully installed openvpn on a server and two clients.

The server and one of the clients (call this client c1) run openSUSE 11.3 natively.
The second client runs openSUSE 11.3 under VirtualBox 4.0.8 as the guest of a Windows 7 host (call this client c2).

The server is configured to allow client-to-client connections.

Server and both client firewalls are configured to allow ssh connections.

ping works among _any_ pair selected from {c1,c2,server}, in either direction.

I can ssh from c2 to either the server or c1; I can also ssh from server to c1, and vice-versa.

I cannot ssh from either the server or c1 to c2, even with Windows 7 allowing ssh through or with its firewall (momentarily) disabled.

I can't even ssh from c2 to itself via any of the IPs listed by ifconfig. (And this includes "ssh 127.0.0.1"!)

Especially in view of the last item (mentioned in the thread subject) I suspect some feature in VirtualBox is preventing c2 from allowing ssh connections, but I have been unable to find out how to fix it. I tried both Bridged and NAT configurations for the VirtualBox-provided network "adapters", to no avail.

Any suggestions on how this can be fixed will be most appreciated.

Saludos,

Gerardo
--
Dr. Gerardo Cisneros S.
Mexico

Re: ssh 127.0.0.1 fails on openSUSE 11.3 guest

Posted: 24. May 2011, 21:58
by Sasquatch
This is a basic solution: do you even have OpenSSH-server installed on that machine? Is it configured properly? Is it running? Is it listening to the default port 22?

Re: ssh 127.0.0.1 fails on openSUSE 11.3 guest

Posted: 25. May 2011, 00:36
by gcstoianowski
Sasquatch wrote:This is a basic solution: do you even have OpenSSH-server installed on that machine? Is it configured properly? Is it running? Is it listening to the default port 22?
OpenSSH was in fact installed, and the appropriate ports were opened.

However, I did overlook enabling sshd in System Services (runlevel).

Everything is fine now; thank you very much!