1

My system admin given me a file with extension .asc. to loging to the Server, but i am unable to login , as WINSCP or putty says this key is in different format,

is another tool like wnscp and putty to login using the asc key. i want file transfer and shell interface to execute commands.

3

http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-ssh2-keyfmt

A.2.2 Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files?

PuTTY doesn't support this natively (see the wishlist entry for reasons why not), but as of 0.53 PuTTYgen can convert both OpenSSH and ssh.com private key files into PuTTY's format.


To convert PGP keys for use with SSH you probably need something like openpgp2ssh

However, your system admin is being unhelpful. I'd give him or her the problem of supplying you with a key that can be used with Putty or I'd generate my own private key and SSH public key using Puttygen and ask the system admin to install the public SSH key in the necessary location on the server (as described in the man pages for sshd).

If you have a username and password for the server and the systems admin has not blocked password authentication in sshd on the server, you can follow these instructions and do it all yourself.

2
  • 1
    Admin Says key is in PGP format, and in putty when i import this for conversion , puttygen shows error THAT key is not in putty format
    – Asghar
    Jul 20 '12 at 10:16
  • @Asghar: see updated answer. Jul 20 '12 at 10:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.