[fetchmail]Re: Re: multi-hop ssh
Derek Broughton
auspex@pointerstop.ca
Wed, 16 Nov 2005 13:42:01 -0400
Jakob Hirsch wrote:
>
>> fetchmail: running ssh derek@io.acad.athabascau.ca 'ssh \
>> pointers@pointerstop.ca /usr/lib/courier-imap/bin/imapd mail' \
>> (host pointerstop.ca service 143)
>> bash: line 1: ssh pointers@pointerstop.ca /usr/lib/courier-imap/bin/imapd
>> \
>> mail: No such file or directory
>
> Didn't test that, but he's probably trying to exec 'ssh
> pointers@pointerstop.ca /usr/lib/courier-imap/bin/imapd mail' as the full
> name of a file. Did you try leaving out the ticks at all?
> (Like: ssh somehost ssh anotherhost /path/to/imapd mail)
Yes! Thanks very much, that does the trick. Bash is mysterious enough, but
apparently now I need to relearn quoting.
--
derek