parallel_sync
parallel_sync copied to clipboard
key with passphrase
I get the error
paramiko.ssh_exception.PasswordRequiredException: proivate key is encrypted
How do I fix this?
Hi @laszewsk Can you share the code you are running?
from parallel_sync import rsync
# username and hostname are names that work and tested with
# ssh [email protected] ls, which works without issue
creds = {'user': 'username',
'key':'~/.ssh/id_rsa',
'host':'hostname.edu'}
rsync.upload('fromdir',
'remotedir',
creds=creds)