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. |
There's two ways you can go about this:
|