Reputation: 1102
I'm using pyinfra
to run some script on server X that rsyncs some files from server Y. However I'm getting a Permission denied (publickey).
error as the public key of X is not on Y.
Is there a way to forward my ssh key to server X so that it can use it to connect to server Y? (Basically, is it possible to do run commands with something like ssh -A
with pyinfra
?)
Thanks a lot!
Upvotes: 0
Views: 608