ssh problem???

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, could be a fault of my PC that all the other refuse the conection?


[vampird@Sharwyn]:~$ ssh shinobu
ssh: connect to host shinobu port 22: Connection refused
[vampird@Sharwyn]:~$ ssh fenix
ssh: connect to host fenix port 22: Connection refused
[vampird@Sharwyn]:~$ ssh iimpi3
ssh: connect to host iimpi3 port 22: Connection refused

all of the PC are working and currently I’m chatting with the OP on shinobu


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxF8dUACgkQJQ+0ABWtaVkMyQCdFjXiKVbH/w3yTUe0bXuG21oo
p3gAn0g3HoytrbSCY4G70Px7dzyunMCM
=9SGA
-----END PGP SIGNATURE-----

On Tue, 20 Jul 2010 18:54:59 +0000, VampirD wrote:

> Hi, could be a fault of my PC that all the other refuse the conection?

Unlikely - “connection refused” means the TCP session couldn’t be
established.

Have the OP check their firewall settings. You can also try just
telnetting to port 22 on the system and see if you get a response like:

SSH-1.99-OpenSSH_4.2

If you don’t see that, that confirms that something is blocking your
connection to their port 22.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Connection Refused typically means the Firewall is not in the way and the
OS is sending back the ICMP packet indicating that the socket could be
reached but nothing was listening. This is more-common in later versions
of OpenSUSE because SSH is not enabled by default like it used to be, and
opening the firewall port (default TCP 22) does not also start the SSH
service. To fix it, start the SSH service:

sudo /etc/init.d/sshd start

and make it permanent via Yast or:

sudo /sbin/chkconfig sshd on

Good luck.

On 07/20/2010 12:58 PM, Jim Henderson wrote:
> On Tue, 20 Jul 2010 18:54:59 +0000, VampirD wrote:
>
>> Hi, could be a fault of my PC that all the other refuse the conection?
>
> Unlikely - “connection refused” means the TCP session couldn’t be
> established.
>
> Have the OP check their firewall settings. You can also try just
> telnetting to port 22 on the system and see if you get a response like:
>
> SSH-1.99-OpenSSH_4.2
>
> If you don’t see that, that confirms that something is blocking your
> connection to their port 22.
>
> Jim
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMRfPqAAoJEF+XTK08PnB54/AQALByVLmqYrJlN8FehxJ3yDq8
YALDaDJU/wb5Z3ltmdlUxsBU2cEKl3oXYjWOTM9niOut2hesjZYO/qUIFP08fkwQ
EdwEny/4OkVWaRkLyMrdrQLU3cAifQzjIadquO/KnCav0qgv6lRjNtSWTwhdLQwl
TA3Q65xatcC46dFzfxwVm5/VJFsYtHgVGbutQFbcl7NVDJ9vcppxNMpTnfNrWOTJ
1FnPIU17fNcnMI87p0mXK2t9mm8b4rRr/ADZaKCifd0C0Qolu/YzcSoywL14psIE
KncYwBVQGLmURzl60mrpsvo9Hb0xqBaEMzRGUYvalPOI5A4/dd0vYunkaFVXJyFi
pN5NHfoHJ1bv2YLmAmjcIBPb/PWBfqscDofjAvJa16xSj13WCc9CYCLzkmPMVn2U
wXzV4wcCpek5oDHPFAS41r8eTULBnBXGkeprdqqNgxff53G0IQpgmD04nhIkVOhm
eC5Qvv8A0eVpVLwv3EKjco/1cHXDCggsbjomiAbl49k6UtK+o3qwG1nQDjkUv20D
mTaKj4x+qxraBuBqMqbhV0x/bzWZ/+dv9nyp8pCCpapowkB7ntYE3WwgBghca45y
bdpn515s4J35OurPCt0KjWuFxdLUI9IASYV1qRhnnR27nXUPfHioFVrFfZOhmQp/
5B3Nzjo49H35IpvhJi2K
=prm1
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

but 2 days ago it works and nobody have the root password :S


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxF9UEACgkQJQ+0ABWtaVlfSACcCBIQSQh5N5P1di7MMQWDKFB3
P08AoNpT349kOdcWNcoz1ZVk1oxrS2+l
=Yl34
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When the possible is ruled out, focus on the impossible. In this case,
the symptom indicates the default firewall is not the problem.

netcat -zv ipAddressHere 22

Good luck.

On 07/20/2010 01:09 PM, VampirD wrote:
> but 2 days ago it works and nobody have the root password :S
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMRfZ2AAoJEF+XTK08PnB5uIkP/A+18PoAYuJIRuvhYM+AbTn8
fSDRm0cGAIihdtsnmOw3m1NAd70cRlZkHkiV/yu9oCvvWzo8hgwNEnoqZS7hOINz
e9qT/2hldyOznwCt83sKkfAYCKnWnSi0x3EtWmz+nASu3eOPb7P6MZuhpGJBF/os
KzDQ5+mcfGvTXaUzgEKnwwND8Q4C+5n5e5baHcFS8yO82b6UdktAowrSnwVy/DMU
qoHTb5lTTppDgIXsUWFx+jlz4EQtWNzrwK8Gkl+FkasNzY0cCRxmq/Abk2wxcmbD
QNxlRMHcG1pBaDgwHH8Dn4xVeHiYobg/+51YdvK6ApxHhTXz5vIK5uabj2yscsco
9HL9XwAJ1JtiU6AlJ3/xMJUBOC5E1mCtQjFxRL5ajRnfJvvFK4BX3EwT9moe27kH
R8gB9SdUCdXTtVzCg1dSzJch2/aaQHXH7CupTn3nYWTUfttgVGtaA39NqDD1ATM5
iK0ICZiz49+e+Hf8o81xj9l+a/m1zSHQcqHz+lpRlG3wUBjvS0AtHDuJTjQ+cxd8
5PPHJFFvi8aw8e7z0PtGU2SsfP/JG7piRffFQn2r92Mq0KaZ5nJp57CaFyjDISAc
TVEEsLRdJzN7G+6sGZrhZcto7NJumP/EHOMmowCSO61LJ7/eEQXyeui0FHl+tihH
qehpJfnbvanPusyl8iuB
=VYCx
-----END PGP SIGNATURE-----

On Tue, 20 Jul 2010 19:09:34 +0000, VampirD wrote:

> but 2 days ago it works and nobody have the root password :S

How many pieces of hardware between you and the remote system?

Clearly something changed. As the one troubleshooting the issue, your
task will be to determine what it was that changed (in fact, that’s one
definition of troubleshooting - identifying what changed).

ab’s suggestions are good, you could also try tcptraceroute or nmap.
IIRC, the former might tell you where the port is being blocked.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Solved, the problem was not mine, was the NIS domain