this code gives the following error:
os.system("scp %s:/export/home/sample/backup.sql %s:/home/rushi/abc.sql" % (a, b))
Permission denied (publickey,keyboard-interactive).
lost connection
a and b are command line arguments that take the username and machine name as arguments:
for example: root@10.88.77.77.
source
share