TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:8149] ssh and NAT



> I played with this again last night.  Seems like i can only run one ssh at a
> time.  The only time i could run 2 sessions was when one of them froze up
> for no apparent reason.  netstat showed the ssh sessions on my machine using
> ports 1021, 1022, 1023.  I didn't try more as i kept killing the hung
> sessions and waited for the ports to free up.
>
> Interestingly the sessions that could not even startup, were stuck in
> SYN_SENT.  Which means they could not even establish a basic connection.
> Maybe there is something on the sshd side that's limiting connections.  I'll
> follow up with my company's sysadmin.
> 
> But the successful sessions that freeze up are still a mystery.

I suppose you might want to try doing 'chmod -s `which ssh`', so SSH no longer
has root privileges and gets forced to use ports >1024, just to see if that
affects anything.

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   The secret of the 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   universe is@~}[@#  
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  Connection Lost. 
[ Mike Hicks | http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu ]