login about faq

Hi, We are trying to connect to Tectia Server 6.1.8.x on Windows using j2ssh 0.2.9. We have configured "Public Key Authentication". The keys are generated using the Tectia client tool and upload the public key on to the server. We are able to connect to the Server using the client. However, when we run the j2ssh program, we get an error "INFO: Private key is not in the default format, attempting parse with other supported formats com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: The key format is not a supported format". I have read that j2ssh supports only OpenSSH key format. Kindly guide us how to parse the Tectia generated private key using j2ssh api.

asked Oct 19 '10 at 11:43

Dhaval's gravatar image


There's two ways you can go about this:

  1. Convert the key to OpenSSH

    Use OpenSSH tools to convert the Tectia key to OpenSSH format. You should then be able to use the converted key with j2ssh.


    ssh-keygen -i -f [tectia_key]
  2. Generate a new key pair using j2ssh or OpenSSH tools

    You can also generate a new key pair using OpenSSH tools (ssh-keygen) and then upload the public key to the Tectia server using the public key wizard of Tectia Client or manually.


answered Oct 19 '10 at 13:23

Roman's gravatar image

Roman ♦♦

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: Oct 19 '10 at 11:43

Seen: 8,419 times

Last updated: Apr 05 '11 at 23:22

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