Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
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. –  RedGrittyBrick Jul 20 '12 at 10:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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