login about faq

How do I set up public key authentication, when the server side is OpenSSH?

asked Dec 21 '10 at 20:44

SSH%20KB's gravatar image


Please note that the following instructions are in addition to the standard How to setup public-key authentication Client-side instructions.

To use public key authentication between an SSH Tectia Client and an OpenSSH server, you must create your keypair on an SSH Tectia Client, then copy the public key over to the OpenSSH server, where it will be necessary to convert the key to the OpenSSH public key file format.

  1. If you have not already generated a keypair on your SSH Tectia Client, see the product manual or Knowledge Base for instructions on generating a keypair.
  2. Once you have created your keypair, you will need to upload the public key part (your_pubkey.pub) to the OpenSSH server, to your ~/.ssh directory. You can use sftp or some other method to do this.
  3. Convert the public key to the OpenSSH public key file format on the server and add it to your ~/.ssh/authorized_keys (default for OpenSSH version 3.5) file:
      $ ssh-keygen -i -f yourkey.pub >> authorized_keys 

Also, ensure your sshd_config file on the OpenSSH server is configured to allow public key authentication. Please check your OpenSSH documentation for instructions on how to do this.


answered Dec 21 '10 at 20:48

SSH%20KB's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 21 '10 at 20:44

Seen: 15,642 times

Last updated: Mar 02 '11 at 04:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.