Re: Is Suse causing my ssh problems?

From: Gregory Toomey (nospam_at_bigpond.com)
Date: 02/28/05


Date: Tue, 01 Mar 2005 02:34:25 +1000

iksrazal wrote:

> I cannot get other hosts to login to my machine remotely. It works
> fine locally. Its an ongoing problem that I posted about on other
> groups over the last year.
>
> I have residential ADSL. I moved to another city and switched
> providers, yet still have the same problem. I've used 8.2 and now I'm
> using 9.2 pro.
>
> Nmap local (x.x.x.x) for IP:
>
> /root> nmap -p22 localhost
>
> Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2005-02-28
> 11:29 BRT
> Interesting ports on localhost (127.0.0.1):
> PORT STATE SERVICE
> 22/tcp open ssh
>
> Nmap run completed -- 1 IP address (1 host up) scanned in 0.134
> seconds
> [linux(root)]
>
> I can log on locally with a test account. My friend remotely tested
> but could not. My friend running fedora kindly ran this for me on his
> remote machine:
>
> [root@nortlamtwo Crossover]# nmap x.x.x.x
>
> Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
> Interesting ports on xxxx.user.veloxzone.com.br (x.x.x.x):
> (The 1600 ports scanned but not shown below are in state: filtered)
> Port State Service
> 113/tcp closed auth
>
> I can log on to my friends machine - he unfortunately is not using the
> same provider.
>
> I have thought that maybe my ISP is doing routing tricks - that this
> ip may not be my IP. But I went to this site to get what remote
> servers think my IP is:
>
> http://www.html-kit.com/e/browconninfo.cgi
>
> Its the same I get from ifconfig .
>
> I'm running vanilla suse - I haven't teaked anything. I'm beginning to
> think _possibly_ this is a suse issue - maybe turning off remote
> access by default?
>
> Any ideas highly appreciated.
> iksrazal

ssh to your friends machine & try to log into yours.

ADSL routers generally use NAT, which trasnslates/masquerades port numbers.
Your may need to set port forwarding on port 22(ssh) to your internal IP on
your router.

Also, some ISPs block some inward ports.

gtoomey
www.gregorytoomey.com



Relevant Pages

  • Re: [opensuse] Access a remote openSuSE installation sitting behind NAT
    ... Then the target could open a reverse port forward on that host, and you could either connect to him on that host, or setup a local port forward so that you could connect to him by reaching localhost on that port. ... Then you can reach your friends machine by connecting to localhost on port 6666. ...
    (SuSE)
  • Re: [opensuse] Access a remote openSuSE installation sitting behind NAT
    ... Nevertheless a third host is essential, ... port forward so that you could connect to him by reaching localhost on ... Then you can reach your friends machine by connecting to localhost on ...
    (SuSE)
  • Re: Is Suse causing my ssh problems?
    ... Its an ongoing problem that I posted about on other ... You have not opend it in the firewall settings in YAST. ... If port 22 is not open, then it is probably your provider. ...
    (alt.os.linux.suse)