So I’ve installed CYGWIN on both machines.
If I do this it works:
ssh -i desktop_rsa root@remoteserver
This requires me to type in a password
ssh root@remoteserver
How do I change the default identity for ssh, so it picks up the right one?
I tried editing my known_hosts file looks something like this, with the identity at the end:
remote_server_ip ssh-rsa AAAAB3NzaC1yc2Esome_big_public_key_here0Dk44YdG///bz desktop_rsa
Thanks!
Edit your .ssh/config file by adding this:
Edit where remote server is your server you are connecting to and desktop_rsa is the path to your identity file. You can get more info on this with
Or just google for ssh config.