Hi,
I am trying to write a python script which will enable me to login into a remote system and perform some actions.
However, when I run ssh through python, it asks me for a password.
I know I can create a password encryption key which will enable me to log in without any prompt for password.
But can someone explain me how can I capture the command prompting for a password and provide a password using python??
Thanks,
Cross
I am trying to write a python script which will enable me to login into a remote system and perform some actions.
However, when I run ssh through python, it asks me for a password.
I know I can create a password encryption key which will enable me to log in without any prompt for password.
But can someone explain me how can I capture the command prompting for a password and provide a password using python??
Thanks,
Cross
Comment