0

I am trying to run a shell script which is connecting to remote server through sftp. But each time its asking me to enter a password. Is there a way that I can do this automatic to pick up the password by itself ?

Harish
  • 1
  • 1
  • 1
    Expect - google it - it is a scripting language? Perhaps public/private key pair – Ed Heal Jun 09 '17 at 16:37
  • Possible duplicate of [How to enter ssh password using bash?](https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash) – Jonny Henly Jun 09 '17 at 16:41

0 Answers0