Networking Forums

Networking Forums > Computer Networking > Linux Networking > sshd: Denied connection to local port

Reply
Thread Tools Display Modes

sshd: Denied connection to local port

 
 
Torsten Bronger
Guest
Posts: n/a

 
      02-06-2006, 10:02 AM
Hallöchen!

I'd like to know the reason for the sshd syslog message

Received request to connect to host 127.0.0.1 port 5000, but the request was denied.

(Trying to connect vie NXClient from a Windows machine.) An
extensive Google search didn't reveal much except for links to
openssh's source file where this log message is generated. Any
hints how to get rid of this barrier are highly appreciated.

Tschö,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646
 
Reply With Quote
 
 
 
 
Paul Black
Guest
Posts: n/a

 
      02-06-2006, 10:35 AM
Torsten Bronger wrote:
> Hallöchen!
>
> I'd like to know the reason for the sshd syslog message
>
> Received request to connect to host 127.0.0.1 port 5000, but the request was denied.


Has a ListenAddress been specified in sshd_config?

Paul
 
Reply With Quote
 
Torsten Bronger
Guest
Posts: n/a

 
      02-06-2006, 10:52 AM
Hallöchen!

Paul Black <(E-Mail Removed)> writes:

> Torsten Bronger wrote:
>
>> I'd like to know the reason for the sshd syslog message
>>
>> Received request to connect to host 127.0.0.1 port 5000, but the request was denied.

>
> Has a ListenAddress been specified in sshd_config?


No. sshd_config only contains:

Protocol 2
PermitRootLogin no
PasswordAuthentication no
X11Forwarding yes
Subsystem sftp /usr/lib/ssh/sftp-server

First, the remote nxclient logs in as user "nx", which works fine.
Then, it logs in as user "bronger". This works, too. If I don't
select "ssl encryption", even the third step (X login) is made
sucessfully because in connects to port 5000 directly.

However, I want everything in the ssh tunnel, so it has to connect
to port 5000 from local. It's strange: It works from outside but
not from the local machine. At least it seams so to me; I don't
understand the procedure fully though.

Tschö,
Torsten.


Tschö,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646
 
Reply With Quote
 
Paul Black
Guest
Posts: n/a

 
      02-06-2006, 12:39 PM
Torsten Bronger wrote:
> However, I want everything in the ssh tunnel, so it has to connect
> to port 5000 from local. It's strange: It works from outside but
> not from the local machine. At least it seams so to me; I don't
> understand the procedure fully though.


I guess try running the client and the server in debug mode, see what's
output.

Paul
 
Reply With Quote
 
johnny bobby bee
Guest
Posts: n/a

 
      02-06-2006, 06:59 PM
Torsten Bronger wrote:
> Hallöchen!
>
> I'd like to know the reason for the sshd syslog message
>
> Received request to connect to host 127.0.0.1 port 5000, but the request was denied.


Do you lock down your /etc/hosts.deny file (ALL: ALL)?
If you do, try allowing 127.0.0.1 in /etc/hosts.allow (ALL: 127.0.0.1).

--
NOTICE: anyone seen smoking will be assumed to be on fire and
will be summarily put out.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't bind to port: 80 Permission denied Ciur Eugen Linux Networking 9 04-02-2009 12:25 PM
Utility to Map Remote Port to Local Port Will Windows Networking 0 12-14-2006 06:41 AM
iptables rule to block external, but accept local port (8009) connection OtisUsenet Linux Networking 1 02-14-2006 08:10 AM
local port tunneling? hellrazor Windows Networking 2 07-15-2005 05:22 PM
Tomcat and port 80 - access denied N.K. Linux Networking 4 10-31-2003 01:23 AM



1 2 3 4 5 6 7 8 9 10 11