[SATLUG] SSH Forwarding Problem
Tameika Reed
tameika.reed at rackspace.com
Tue May 8 00:45:02 CDT 2007
You should look in your /etc/hosts.deny file.
Usually it is blocked in and placed in that file
________________________________
From: satlug-bounces at satlug.org on behalf of Sean Carolan
Sent: Fri 5/4/2007 4:11 PM
To: The San Antonio Linux User's Group Mailing List
Subject: [SATLUG] SSH Forwarding Problem
Maybe someone can help me figure this out. I have three machines,
let's call them apple, banana and cherry. Apple is my workstation,
banana is a box that I can SSH to, and cherry is only available from
banana.
If I run these commands everything works fine:
$ ssh -L 2022:cherry:22 banana
$ ssh localhost -p 2022
And I get immediately connected to cherry with no problem.
When I try to put these settings into my ~/.ssh/config file I get this
error on the client:
ssh_exchange_identification: Connection closed by remote host
And this error on the server:
channel 47: open failed: administratively prohibited: open failed
Here is a copy of my ~/.ssh/config file:
****************
Host banana
Hostname banana.full.domain.name
LocalForward 21031 cherry.full.domain.name:22
Host cherry
Hostname localhost
Port 21031
HostKeyAlias cherry
***************
What's really frustrating is that the config file works fine for some
hosts, but not for others. There are about six problem hosts on my
network that are not allowing the local port forwarding. Any
suggestions???
--
_______________________________________________
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
Powered by Rackspace (www.rackspace.com)
Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace
Managed Hosting. Any dissemination, distribution or copying of the enclosed
material is prohibited. If you receive this transmission in error, please
notify us immediately by e-mail at abuse at rackspace.com, and delete the
original message. Your cooperation is appreciated.
More information about the SATLUG
mailing list