ssh : connection timed out/ permission denied (publickey)

Hello World,

this is my first experience with openSuse (not Linux/Unix) and I meet troubles when trying to connect under ssh on my station: from my both lappies (the first is running OSX, the second is under Fedora Linux) I get the same error message :


ssh: connecto to host ### port 22:connection timed out

I tried to remove any iptables rules on the Suse’station with :


iptables -F -X
iptables -A INPUT -j ACCEPT
iptables -A OUTPUT -j ACCEPT

I thus get (from any lappy) :


Permission denied (publickey).

I of course remove all information contained in the ~/.ssh/known_hosts (on the client lappy).

Using nmap I get this :


Starting Nmap 4.60 ( http://nmap.org ) at 2008-11-09 16:09 CET
Interesting ports on 192.168.0.12:
Not shown: 1712 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
111/tcp open  rpcbind
538/tcp open  gdomap

Nmap done: 1 IP address (1 host up) scanned in 0.105 seconds

what’s going wrong on the suse ? The both lappies are able to connect to each other via ssh without any such troubles.

thanks for any help!

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

Have you checked /var/log/messages on the server side? Can you post the
command you are entering and the output you receive along with it?

Good luck.

adakite wrote:
> Hello World,
>
> this is my first experience with openSuse (not Linux/Unix) and I meet
> troubles when trying to connect under ssh on my station: from my both
> lappies (the first is running OSX, the second is under Fedora Linux) I
> get the same error message :
>
> Code:
> --------------------
>
> ssh: connecto to host ### port 22:connection timed out
>
> --------------------
>
>
> I tried to remove any iptables rules on the Suse’station with :
>
>
> Code:
> --------------------
>
> iptables -F -X
> iptables -A INPUT -j ACCEPT
> iptables -A OUTPUT -j ACCEPT
>
> --------------------
>
>
> I thus get (from any lappy) :
>
> Code:
> --------------------
>
> Permission denied (publickey).
>
> --------------------
>
>
> I of course remove all information contained in the ~/.ssh/known_hosts
> (on the client lappy).
>
>
>
> Using nmap I get this :
>
>
> Code:
> --------------------
>
> Starting Nmap 4.60 ( http://nmap.org ) at 2008-11-09 16:09 CET
> Interesting ports on 192.168.0.12:
> Not shown: 1712 closed ports
> PORT STATE SERVICE
> 22/tcp open ssh
> 111/tcp open rpcbind
> 538/tcp open gdomap
>
> Nmap done: 1 IP address (1 host up) scanned in 0.105 seconds
>
> --------------------
>
>
> what’s going wrong on the suse ? The both lappies are able to connect
> to each other via ssh without any such troubles.
>
>
> thanks for any help!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJF6713s42bA80+9kRAmT6AJ9JILt0s2CIB0+0gRieeBNIdOa40wCfemg/
fqvV9BqoqXTCYqDUPXZiXWA=
=l9Wz
-----END PGP SIGNATURE-----