scp remote path specification
Frank Tobin
ftobin at uiuc.edu
Tue Dec 19 11:04:03 EST 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Markus Friedl, at 16:41 +0100 on Mon, 18 Dec 2000, wrote:
you cannot assume that the path for the remote scp is the
same as for the local scp. it's better to add an option
to scp, e.g.:
$ scp -X /remote/path/to/scp /etc/passwd otherhost:/etc
This is not a good solution if you ever expect there to be multiple remote
hosts in scp's arguments (e.g., scp file at remote1 file2 at remote2). You need
to tie the path to each remote file-location specification.
- --
Frank Tobin http://www.uiuc.edu/~ftobin/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/
iEYEARECAAYFAjo+pf0ACgkQVv/RCiYMT6PWcgCfQw8mtNOka3ZNB3J9sWORDk/K
/1UAn1eK16gatg01AI2u8XtgKPyMhz5G
=NQqV
-----END PGP SIGNATURE-----
More information about the openssh-unix-dev
mailing list