Re: do shell script timeout too long
Re: do shell script timeout too long
- Subject: Re: do shell script timeout too long
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 21 Aug 2008 09:13:40 -0400
But a box can be pingable without necessarily being ssh'able (not to
mention vice versa if there's some overly-paranoid ICMP-dropping going
on), and detecting a ping failure is just another (albeit shorter)
timeout. So I'd recommend using the ssh option.
On 8/21/08, Alan Fairlie <email@hidden> wrote:
> Thanks for that Skeeve.
>
> On further research testing first with a 'ping' might avoid waiting
> for a timeout altogether.
>
> Alan.
>
> On 21/08/2008, at 10:41 PM, Skeeve wrote:
>
>> Alan Fairlie schrieb:
>>> The problem is when the remote machine is turned off or logged out.
>>> It times out after the default 2 minutes
>> man ssh
>>> -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. For full details of
>>> the
>>> options listed below, and their possible values, see
>>> ssh_config(5).
>>>
>>> [...]
>>> ConnectTimeout
>> Sounds promising.
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (applescript-
>> email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>
>
--
Sent from Gmail for mobile | mobile.google.com
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden