Re: ssh options
"Rob Shepherd" <[email protected]> Fri, 13 Jan 2006 16:48:16 -0000 (UTC)
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <47915.147.143.9.26.1137170896.squirrel@secure.seismic-media.co.uk> |
> 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> $* to get the host etc Thanks Jörg Rob