Linux scp in batch mode without replying pass

December 18, 2010 at 12:50:46
Specs: Linux Fedora
I would like to have passphrase when generating rsa key, but I don't want to be asked for passphrase while running in batch mode (cron job). Is it possible? Thanks

See More: Linux scp in batch mode without replying pass

Report •


#1
May 25, 2011 at 00:55:09
Yes it possible if u use public key authentication.

While doing the configuration for public key settings, prompt will ask you to enter passphrase . At that time press ENTER twice (null passphrase).

Next when u try to connect to remote system (in batch mode), it will not ask you for the passphrase.


Report •
Related Solutions


Ask Question