I am setting up an OpenSuSE 11.1 virtual machine under VMWare Fusion, earlier this morning I was logged in via SSH and doing some work then I decided I wanted the machine to have a different IP address. After changing I cannot connect via SSH, I keep getting the “Connection refused” message when I try.
I have restarted the SSH server and restarted the virtual machine, but no joy.
If you are indeed getting Connection Refused specifically then it sounds
like you are reaching a box that does not have the firewall in the way but
at the same time does not have a service listening where you expect SSH to
be. Is the SSH service running? Does the port show as listening in the
netstat output? Anything in /var/log/messages when you restart the SSH
service?
Good luck.
wplate wrote:
> I am setting up an OpenSuSE 11.1 virtual machine under VMWare Fusion,
> earlier this morning I was logged in via SSH and doing some work then I
> decided I wanted the machine to have a different IP address. After
> changing I cannot connect via SSH, I keep getting the “Connection
> refused” message when I try.
>
> I have restarted the SSH server and restarted the virtual machine, but
> no joy.
>
> Thank you for suggestions.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
ab@novell.com wrote:
> If you are indeed getting Connection Refused specifically then it sounds
> like you are reaching a box that does not have the firewall in the way but
> at the same time does not have a service listening where you expect SSH to
> be.
This conveniently discards the fact that not all firewalls have a
default drop rule.
Yes, that’s true, but this is an opensuse forum and customizing the
firewall wasn’t mentioned so I think those are safe assumptions and if not
then the time wasted will be deserved.
Good luck.
Andreas Stieger wrote:
> ab@novell.com wrote:
>> If you are indeed getting Connection Refused specifically then it sounds
>> like you are reaching a box that does not have the firewall in the way but
>> at the same time does not have a service listening where you expect SSH to
>> be.
>
> This conveniently discards the fact that not all firewalls have a
> default drop rule.
>
> Kind regards,
> Andreas Stieger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
wplate wrote:
> I am setting up an OpenSuSE 11.1 virtual machine under VMWare Fusion,
> earlier this morning I was logged in via SSH and doing some work then I
> decided I wanted the machine to have a different IP address. After
> changing I cannot connect via SSH, I keep getting the “Connection
> refused” message when I try.
>
> I have restarted the SSH server and restarted the virtual machine, but
> no joy.
Please verify that
the virtual machine does in fact have the IP address you think it has
that is the only machine with that IP address
that his address can be reached from the host system (routing, etc)
It is often the simple things that are wrong. I thought that the IP address I assigned was unused but perhaps I was wrong. I assigned the OpenSuSE machine a different IP address and all works now.
Thank you for helping prod me to check the obvious.
Do you use the IP to connect or hostname? If you use the hostname your connection is refused cause of the key you stored. That’s a security feature to protecct you from IP spoofing.
No Way… THANK YOU!!!
this little blurb, is All it took to get me up and running.
I’ve been fighting my problem for a couple of weeks now, since installation.
I could see my newest workstation via samba, but could not connect via sftp (linux network services) and it was making me crazy.
I’ve search and searched, posted here and at KDE to no avail.
Your comment about ssh hit a cord with me and wouldn’t you know it… it was indeed ‘stopped’ or ‘disabled’ in
YaST> System> System Services (runlevels)…