Re: server limits commands to MAX_CMD_LEN

2015-07-01 Thread Laurent Bercot
On 01/07/2015 19:24, Tim Broberg wrote: Yes, I have had to scp scripts to the target and run them in place for large commands specifically because of dropbear. I've run into the same issue and just recompiled dropbear with increased limits. 8k is enough for me (but 4k is not enough, so Matt,

Re: server limits commands to MAX_CMD_LEN

2015-07-01 Thread Matt Johnston
Hi Szabolcs, 4k sounds like an OK limit, I'll increase that. Handling larger limits like shells (200k+?) would be harder - Dropbear expects SSH packets to be under 32kB. Cheers, Matt On Wed, Jul 01, 2015 at 06:32:36PM +0200, Szabolcs Nagy wrote: some of my long ssh commands failed with exec