Authentication with SSHTools & encrypted puttygen.exe generated key
From: veovis (noise_at_webmail.pla.net.py)
Date: 12/17/03
- Next message: Ivan Wang: "SSH protocol exchange documentation?"
- Previous message: Neil W Rickert: "Re: SCP A file with colon in its name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Dec 2003 04:50:42 -0800
I've been trying Java SSHTools (sourceforge.net) 0.2.7; client side
authentication on sshd on Linux works well with different key file
formats; even with key file generated by puttygen.exe (w/ extension
com.sshtools.ext.putty). But when trying a puttygen.exe *encrypted*
key, this sshtools runtime error appears:
com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: The SSH
key supplied is invalid
at com.sshtools.ext.putty.PuttyPrivateKeyFormat.decryptKeyblob(Unknown
Source)
at com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile.toPrivateKey
However, the key *is* valid.
This error occurs prior to authentication, and only when using an
encrypted key generated by puttygen.exe; as if sshtools could not
identify this key format.
Can anyone help me on this ?
- Next message: Ivan Wang: "SSH protocol exchange documentation?"
- Previous message: Neil W Rickert: "Re: SCP A file with colon in its name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]