LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2009, 10:26 PM   #1
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
ssh server forwarding denied -


I have a home Gentoo ssh server that is used for tunneling. When my notebook connects to the server I get a:

Code:
Warning: remote port forwarding failed for listen port 25000
So, on the Gentoo server I have to restart sshd service, in order for the notebook to forward the port... Very annoying.

I've attached my sshd_config file to see if anyone can help config it to keep port forwarding open so I dont have to constantly reset it.

Everything seems correct... just dont know why I have to always reset the server for conections
Attached Files
File Type: txt ssh-config.txt (3.5 KB, 37 views)
 
Old 08-19-2009, 10:07 AM   #2
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110

Rep: Reputation: 16
That will happen if the port is already used by another ssh call still active. It gets reset when you restart the ssh service.
 
  


Reply



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 port forwarding as a proxy server: how to be aware of the current connections Gozer404 Linux - Security 2 07-15-2009 11:22 AM
I would not connect to suse 10 server from a windows PC using ssh. 'access denied' zhangy Linux - Networking 3 10-12-2006 05:24 AM
Access Denied when I try to login remotely to my SSH server running on Cygwin. andrew_cz General 0 05-02-2006 09:46 AM
X forwarding denied tincat2 Linux - Networking 8 02-07-2005 03:06 AM
Firewall/NAT issues with X-Server w/ SSH forwarding JMCraig Linux - Security 1 01-25-2005 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:35 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
Open Source Consulting | Domain Registration