Re: How to Use scp non-interactively
From: Chuck (skilover_nospam_at_softhome.net)
Date: 01/05/05
- Next message: tonij67_at_hotmail.com: "Re: scp works on command line, fails in cron"
- Previous message: Frank Hamersley: "Re: How to Use scp non-interactively"
- In reply to: tliang100_at_yahoo.com: "Re: How to Use scp non-interactively"
- Next in thread: Darren Tucker: "Re: How to Use scp non-interactively"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 05 Jan 2005 08:41:42 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tliang100@yahoo.com wrote:
| Hi,
|
| Thank you for replying. We can not use sftp with a script option
| because we need to get a file and do some processing on it before
| getting the next one. Also, we can not use publickey authentication and
| ssh-agent because we don't use this authentication method. We only use
| password.
|
| Any other ideas? Thanks in advance.
|
| Regards,
|
| Terry Liang
|
You're obviously concerned about security or you wouldn't be using scp
in the first place. Since that's the case, why not step up the security
a notch further and use RSA authentication? That would allow for
non-interactive authentication using ssh-agent to cache the private key.
If this is something that's beyond your control and you are being forced
to use passwords, then maybe you should not use scp either. You could
always use pgp or gpg (open source) to encrypt the file before sending
it and use ftp to do the actual transfer. Passwords for batch processes
can be stored in the $HOME/.netrc file. FTP has a big security hole in
it though as it sends passwords over the network in plain text.
- --
To reply by email remove "_nospam"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB2+6WzIf+rZpn0oQRAp1cAKCGhwnYowenJVFPV6uC9JBlvXFNHACgldTe
EJR8+1I+yj0riI/z7PTaOL8=
=WYcx
-----END PGP SIGNATURE-----
- Next message: tonij67_at_hotmail.com: "Re: scp works on command line, fails in cron"
- Previous message: Frank Hamersley: "Re: How to Use scp non-interactively"
- In reply to: tliang100_at_yahoo.com: "Re: How to Use scp non-interactively"
- Next in thread: Darren Tucker: "Re: How to Use scp non-interactively"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|