fetchmail-friends
[Top] [All Lists]

[fetchmail]Re: Re: multi-hop ssh

2005-11-16 10:47:06
Jakob Hirsch wrote:


fetchmail: running ssh derek(_at_)io(_dot_)acad(_dot_)athabascau(_dot_)ca 
'ssh \
 pointers(_at_)pointerstop(_dot_)ca /usr/lib/courier-imap/bin/imapd mail' \
 (host pointerstop.ca service 143)
bash: line 1: ssh pointers(_at_)pointerstop(_dot_)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(_at_)pointerstop(_dot_)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

_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends

<Prev in Thread] Current Thread [Next in Thread>