rsync to EC2 using ssh -i
Posted
by
isomorphismes
on Server Fault
See other posts from Server Fault
or by isomorphismes
Published on 2012-09-24T21:40:39Z
Indexed on
2012/09/26
3:39 UTC
Read the original article
Hit count: 529
I'm able to ssh -i mykey.pem
to EC2. I'm able to scp -i mykey.pem
to EC2. But when I try to rsync -avz -e "ssh -i mykey.pem"
I get this error:
Warning: Identity file mykey.pem not accessible: No such file or directory.
Permission denied (publickey).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]
Any suggestions what I've done wrong?
© Server Fault or respective owner