9

Need a exit from sftp if its ask for password and continue to run remaining part of script.

view full story
linux-howto

http://www.unix.com – Hi I am checking status of sftp in Health check script, sftp command is used to connect the server with secure RSA key, which is successfully get connected most of the time but in some case if RSA key ask for password then I need to exit sftp command after few second and continue to run remaining part of script. Thanks, kraut (HowTos)