[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh time to see if remote server is up



On Fri, 26 Dec 2008, H.S. wrote:

> Hello,
>
> If I try to ssh to a remote server which is down, SSH takes some minutes
>  to determine if it really up or not. Does SSH have an option to fix
> this  time interval during which ssh client is trying to make a
> connection to the remote server?
>
> Thanks.
>

In ~/.ssh/config you can set:
ConnectTimeout 30
to set a 30 second timeout for example.
For more info man ssh_config

-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


Reply to: