Среда=ОС?
В windows.
А ключи генерировал с помощью ssh-keygen под юниксом:
[rXXXXXXX][root]/home/tiffolk# ssh-keygen -b 1024
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
/root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
a1:ee:fb:ax:4x:xf:7x:1x:fx:1x:7x:fx:8x:3x:fx:ax root@rXXXXX
-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgQC6yxp <.....> Jw3zOo6w+Jz
6sR8hwg6DT6Npphx+e4BRhOOQiSkL8qFAuzSEOhF2Q==
-----END RSA PRIVATE KEY-----