Re: Dealing with roaming machines

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

 



On Tue, Dec 23, 2014 at 8:51 AM, martin f krafft <madduck@xxxxxxxxxxx>
wrote:
[...]

> I'd kinda like OpenSSH to connect to all three IPs at once, since
> only one will ever be answered at any one time.


You could do that with a ProxyCommand: have it connect() to all addresses
returned by DNS, use the first one to return and close the others.  Writing
such a tool would be fair simple, and I would be surprised if something
like that doesn't already exist.


> Or it should try them in quick succession.
>

Try "ConnectTimeout 1s" or similar in your config for that host.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux