AuthorizedKeysCommand size issue?

Yves Dorfsman yves at zioup.com
Wed Apr 16 01:19:18 EST 2014


On 2014-04-15 07:47, Dag-Erling Smørgrav wrote:
> Damien Miller <djm at mindrot.org> writes:
>> Yves Dorfsman <yves at zioup.com> writes:
>>> #!/bin/bash
>>> curl -s --compressed http://someurl.example.com/pubkeys/$1 >somefile
>>> cat somefile
>> So curl/wget aren't coping with stdout being non-blocking. Those are
>> bugs in curl and wget.  You've got the right workaround, but just
>> don't use a predictable filename (i.e. use mktemp).
>
> Shouldn't 'curl ... | cat' suffice?

Tried that before, it returns an exit code 141.


> Or even 'echo "$(curl ...)"'
Can you completely prevent echo from interpreting $ sign?

-- 
Yves.


More information about the openssh-unix-dev mailing list