Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Transfer .txt between two RPi (no internet,no pc)

Mon Nov 09, 2015 5:41 am

AjitPi wrote:Ya the command still asking for password when i do it through python script :(

is there a way that i enter the password through the script when it asks for?
You can use the ssh-copy-id program at the command line to allow passwordless access to an account that you would give the minimum of power to. Then it shouldn't ask for the password in the first place.

Return to “Python”