On Tue, 4 Feb 2003, David Simmons wrote: > automate the process. Is there anyway anyone knows of to feed SCP the > password in a shell script? Or is there any other way we can do this > copy without being asked for a password?
Passwords on the command line are a security risk. If the system is *not* multiuser, it may be an acceptable choice, but I'd recommend avoiding it. A better option is to use keychain: http://www.gentoo.org/proj/en/keychain.xml Authenticate to keychain, log out, and your non-interactive sessions will still have access to the running authentication agent. Your only security risk with this option is if someone (e.g. root or wheel) can connect to the existing authentication agent socket. -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list