Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to remove the delay that occurs with ssh when logging in from my intranet but retain the delay when logging in from the internet.

Is this possible?

share|improve this question
1  
May I ask why you would ever want a delay, on either end? –  John T Sep 11 '10 at 22:04
    
You would want a delay when accessing from the internet to make brute force attacks very slow. –  Pram Sep 12 '10 at 6:28
    
is this what you loking for hints.macworld.com/article.php?story=20050503190955329 –  subanki Sep 12 '10 at 7:20

2 Answers 2

up vote 2 down vote accepted

Problem often occurs when reverse dns lookup enabled by SSDH. Try to use 'UseDNS no' in config.

share|improve this answer
    
That looks like it did the trick. Thanks –  Pram Sep 12 '10 at 11:24
    
hahahahr, so now intranet AND internet have the same delay? :)) –  akira Sep 12 '10 at 11:56

use ssh-keys to authenticate yourself from the intranet machines.

your password-based authentication runs on the client against the keys you are using. once that is done, there will be no delay when authenticating against the server (sshd_config MaxStartups)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.