Re: ssh options
Joerg Schilling <[email protected]> Fri, 13 Jan 2006 17:58:32 +0100
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <43C7DC38.nailM7831QBB4@burner> |
"Rob Shepherd" <[email protected]> wrote: > > > This will not work as there is no parser in librmt > > and as for security reasons the command is not run via > > system() but via popen(). > > > > But of course, you may always create a shell script > > > > #!/bin/sh > > exec /usr/bin/ssh -i <key> > > > > that you use.... > > > > Jörg > > > I tried this first, however after some experimentation, I find my script > needed to be > > exec /usr/bin/ssh -i <key> $* This is of course wrong.... $* is wrong in 99.999% of all cases. use "$@" instead. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily