Question
SSH connect two droplets and can I access files in python script?
1)
I posted my question about SSH networking here:
https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh?comment=58880
I will repeat it:
I have access from my pc to both of my droplets with ssh and putty. At my pc I have the public and the private (.ppk) ssh keys. This works fine.
Now I want both droplets to rsync in private network. I assueme I can still use the public and private keys I also use on pc in putty.
But where do I put public and private key, so the first droplet knows that he can use this ssh keys to connect to droplet2 ?
2) After transferring files with SSH is possible, if want a python 3 script that is running at one of them, to be able to read txt files from the other droplet.
Does anyone has a clue how to do that?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
*I want a python 3 script… to be able…
(I see no way to edit my question to fix this and other typos …)