• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: do shell script timeout too long
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: do shell script timeout too long
      • From: Alan Fairlie <email@hidden>
References: 
 >do shell script timeout too long (From: Alan Fairlie <email@hidden>)
 >Re: do shell script timeout too long (From: Skeeve <email@hidden>)
 >Re: do shell script timeout too long (From: Alan Fairlie <email@hidden>)

  • Prev by Date: Re: do shell script timeout too long
  • Next by Date: Re: I can't get the correct syntax for this filter
  • Previous by thread: Re: do shell script timeout too long
  • Next by thread: Re: do shell script timeout too long
  • Index(es):
    • Date
    • Thread