rsync does not work
Hi, I am running a docker container in the cloud. Everything is working fine so far, I can connect via ssh with my public keys, everything is great. Except that I can't tranfer files using rsync. Everytime I am trying to transfer files via rsync I am getting asked for a password which I have never set. Does anybody has a solution for me?
Examples to connect I already tried (The paths are changed):
- rsync -avz -e "ssh" ~/documents/example.txt [email protected]:/root/example.txt
- rsync -avz -e "ssh -i /path/to/key" ~/documents/example.txt [email protected]:/root/example.txt
- rsync -avz -e "ssh -i /path/to/key" ~/documents/example.txt [email protected]:/root/example.txt
Solution:Jump to solution
I just made it. I used a custom docker container. After readinghttps://blog.runpod.io/how-to-achieve-true-ssh-on-runpod/ I was able to solve it myself.
RunPod Blog
How to Achieve True SSH in RunPod
RunPod allows you to get a terminal access pretty easily, but it does not run a true SSH daemon by default. There are plenty of use cases, like needing to SCP or connecting an IDE that would warrant running a true SSH daemon inside the pod. We'll go through the
1 Reply
Solution
I just made it. I used a custom docker container. After readinghttps://blog.runpod.io/how-to-achieve-true-ssh-on-runpod/ I was able to solve it myself.
RunPod Blog
How to Achieve True SSH in RunPod
RunPod allows you to get a terminal access pretty easily, but it does not run a true SSH daemon by default. There are plenty of use cases, like needing to SCP or connecting an IDE that would warrant running a true SSH daemon inside the pod. We'll go through the