[SSHd] Increasing wait time?

Steve Bertrand iaccounts at ibctech.ca
Thu May 8 03:50:55 UTC 2008


>>    ssh stream  tcp  nowait/20/4/10  root  /usr/sbin/sshd  sshd -i
>>
>> into /etc/inetd.conf set a limit of
>>
>> * 20 overall ssh connections
>> * 4 connection attempts per minute
>> * at most 10 connections from a single IP
>>
>> This works very well on a personal server, not sure how it scales up.
> 
> 
> So if I copy over some files via scp, I can lock myself out. Fun stuff ;)

Come on...

The comment was based on a 'personal' server for logins.

How 'bout you explain why SCP would break this so the OP understands...

Otherwise, explain why running an FTP session through one of the 
server's SSH tunnels wouldn't be equally viable to running an unlimited 
number of SCP sessions over normal TCP ;)

Steve







More information about the freebsd-questions mailing list