LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2009, 11:33 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
ssh connection refused behind Endian firewall


I am behind an Endian firewall which has port 22 opened from the green network to the red.

When I want to ssh to a server on the internet from a client on the green network I get the following error :

Code:
[root@jonas jonas]# ssh -vvv networkx-gent.no-ip.biz
OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to networkx-gent.no-ip.biz [75.X.225.X] port 22.
debug1: connect to address 75.X.225.X port 22: Connection refused
ssh: connect to host networkx-gent.no-ip.biz port 22: Connection refused
When I connect my client directly to the internet (and bypassing Endian) I am able to make a secure shell connection...

Why does ssh fail even when port 22 is opened ?? It's not that the 3-way-handshake does not succeed because else I would get a timeout...

Last edited by jonaskellens; 08-10-2009 at 12:56 PM.
 
Old 08-10-2009, 12:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Firstly I'd recommend to comment your IP addresses out of the post...


Does the target machine only allow certain IPs in? Is the IP your
connecting from directly the same as when you're behind the firewall?



Cheers,
Tink
 
Old 08-10-2009, 01:06 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Tinkster View Post
Does the target machine only allow certain IPs in? Is the IP your connecting from directly the same as when you're behind the firewall
The target machine does not limit access based on IP-address.
The IP-address when I'm connecting directly is the same IP-address of the firewall (public IP thus).

Entries in /root/ssh/known_hosts are deleted so the RSA-key is written again to the file upon password-authentication.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 05:38 PM
SSH connection refused theoneandonly19 Red Hat 1 07-01-2007 03:48 AM
SSH connection refused, no firewall and confirmed running amdinator Linux - Networking 4 05-16-2007 04:18 PM
SSH connection refused bmccorm2 Linux - Networking 4 05-15-2007 03:59 PM
SSH "Connection Refused" problem when there is no firewall/router involved in Fedora4 d2army Linux - Networking 5 10-04-2005 06:01 PM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration