I am trying to SSH from one Digital Ocean droplet to a second droplet.
Here is my setup:
Setup and Configuration
- Droplet 1: MyTest (Ubuntu 16.04 512 MB RAM)
- Droplet 2: RemoteHost (Ubuntu 16.04 512 MB RAM)
- Local system (Windows 7 with Putty, PuttyGen)
Based on the instructions in the video here, I used PuttyGen to generate a public-private key pair on my Local system (Windows 7). I did not save the public key. I saved the Private key on my Local system (Windows 7). I added the public key to the MyTest droplet. I can now use Putty to ssh from my Local system (Windows 7) into MyTest without a password exactly as the video shows.
Now, I would like to SSH from the MyTest droplet into the RemoteHost droplet.
I created the RemoteHost droplet and I attached the same public key as for MyTest. So, both droplets MyTest and RemoteHost have the same public key.
From my Local machine (Winsows 7), I used PuTTy to SSH into the MyTest droplet.
Then, (from the MyTest droplet command line) I tried to SSH into the RemoteHost droplet with the following:
root@MyTest:~# ssh email@example.com
After this, I get the following error message
root@MyTest:~# ssh root@xxx The authenticity of host 'xxx (xxx)' can't be established. ECDSA key fingerprint is SHA256:yyy. Are you sure you want to continue connecting (yes/no)?
Is it possible to SSH from one Digital Ocean droplet into a different Digital Ocean droplet?