Try using ssh -P.  If that works, then the firewall is blocking ports 
<1024.
If you don't like the -P then chmod 755 ssh to remove the suid bit.  


Michael Hulet
Network System Administrator
ITTC, University of Kansas


On Thu, 16 Sep 1999, Michael wrote:

> I've used ssh 1.2.xx for several years now on multiple sites.
> I have my very first site which is behind a firewall that uses NAT.
> I can ssh into the host at that site without difficulty, but can not 
> ssh OUT from the host behind the NAT translator.
> 
> here is the response from the sshd daemon on the other end
> 
> gins2:~# ssh -v gins1
> SSH Version 1.2.26 [i686-unknown-linux], protocol version 1.5.
> Standard version.  Does not use RSAREF.
> gins2: Reading configuration data /etc/ssh_config
> gins2: ssh_connect: getuid 0 geteuid 0 anon 0
> gins2: Connecting to gins1 [172.16.1.2] port 22.
> gins2: Allocated local port 1023.
> gins2: connect: Connection refused
> gins2: Connecting to gins1 [63.76.112.2] port 22.
> gins2: Allocated local port 1023.
> gins2: connect: Connection refused
> gins2: Trying again...
> Secure connection to gins1 refused; reverting to insecure method.
> Using rsh.  WARNING: Connection will not be encrypted.
> etc.....
> 
> the ssh_config and sshd_config files are identical on the two 
> machines and on machines at other sites that can successfully connect 
> to both of the hosts above (gins1, gins2). The difficulty appears to 
> be with the client machine going out through NAT and receiving the 
> connection back.
> 
> Any clues??
> 
> Michael
> [EMAIL PROTECTED]
> 

Reply via email to