HI Arnon,
Thanks for the reply.So the ppk file which I am currently using to load via Pagent has the following content :
PuTTY-User-Key-File-2: ssh-rsa
Encryption: none
Comment: imported-openssh-key
Public-Lines: 4
AAAAB3NzaC1yc2EAAAABIwAAAIEAlZaCpbUY1cVpO3D8i74QA0PnlExO2hOpS+mh ...bl
+a bla bla
Private-Lines: 8
AAAAgDNJi+EK4/GFgypSn7riFB5gbKffpgGgV006KOcQnKv2d3G2mRUaT5zHkk08 ...bl
+a bla bla
Private-MAC: 21d2a17d1378533ce907f67ca647f217ab35c548
So by just looking at the file I guess it includes the publi c and private key which it uses to connect to the SFTP server.
I tried to export the OPen SSH format as you mentioned earlier via puttygen for this file and saved the file as "Identity" . But not sure if there is a need for me to load the same file twice and save it once as Private Key and then for Public key.....PLease correct me If I am wrong here...This is only because I have one file which I assume has public and private key both in it.....(coz th eppk file says "public lines ....Private lines"
Also what would be the arguments that I would need to given in my hash (ssh_args) for identity files ? Do the Identity files point to the public or private key location folder ?
Currently by default it generates a file known as "Known_hosts2" in my home directory...
IF you could give me some guidance on this that would be great...
Thanks again for your time and help !! |