Re: How to maintain a persistent SSH connection?

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

 



On 17/11/17 14:27, Phil Pennock wrote:
I realized afterwards that really, this is too frequent and also that I
didn't think through what ssh's default buffering behavior might be
without a PTY.

Ssh transfers as soon as possible.  You don't need to worry about line buffering or any such nonsense.  This will work fine:

   ssh -T host sh -c '"while sleep 1; do echo -n .; done"'
_______________________________________________
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