ssh 127.0.0.1 fails on openSUSE 11.3 guest

Discussions about using Linux guests in VirtualBox.
Post Reply
gcstoianowski
Posts: 7
Joined: 23. May 2011, 21:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: openSUSE Leap, Tumbleweed

ssh 127.0.0.1 fails on openSUSE 11.3 guest

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: ssh 127.0.0.1 fails on openSUSE 11.3 guest

Post 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?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
gcstoianowski
Posts: 7
Joined: 23. May 2011, 21:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: openSUSE Leap, Tumbleweed

Re: ssh 127.0.0.1 fails on openSUSE 11.3 guest

Post 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!
Post Reply