ssh time to see if remote server is up

2008-12-26 Thread H.S.
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. -- Please reply to this list only. I

Re: ssh time to see if remote server is up

2008-12-26 Thread Jeff D
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.

Re: ssh time to see if remote server is up

2008-12-26 Thread Thomas Karpiniec
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? Take a look at the ssh_config(5) manpage, specifically

Re: ssh time to see if remote server is up

2008-12-26 Thread H.S.
Jeff D wrote: In ~/.ssh/config you can set: ConnectTimeout 30 to set a 30 second timeout for example. For more info man ssh_config I tied: $ ssh -o ConnectTimeout=15 remote-host and it worked perfectly. Thanks a ton. -- Please reply to this list only. I read this list on its

Re: ssh time to see if remote server is up

2008-12-26 Thread H.S.
Thomas Karpiniec wrote: 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? Take a look at the

Re: ssh time to see if remote server is up

2008-12-26 Thread Osamu Aoki
On Fri, Dec 26, 2008 at 11:35:46PM -0500, H.S. wrote: Thomas Karpiniec wrote: ... Take a look at the ssh_config(5) manpage, specifically the ... But I only checked 'man ssh' and that does not explain the meaning of the variables. Did not occur to me to check manpage for ssh_config. I thank

Re: ssh time to see if remote server is up

2008-12-26 Thread H.S.
Osamu Aoki wrote: At least under lenny/sid, 'man ssh' has | -o option | Can be used to give options in the format used in the configura‐ | tion file. This is useful for specifying options for which there | is no separate command-line flag.