In the documentation (rel url ./j2ssh/documentation/j2ssh-authentication.htm#Publickey), there are instruction on generating key pairs for public-key authentication:
"First you will require a key pair which can be generated using the ssh-keygen tool, located in the bin directory of the J2SSH installation.
C:\sshtools-j2ssh\bin>ssh-keygen -b 1024 -t dsa mykey "
Which download is the ssh-keygen tool in, I can't locate it?
Look in the daemon under Unmaintained http://downloads.sourceforge.net/sshtools/SSHTools-SSHDaemon-Win32-0.0.9-bin.zip?use_mirror=
It has a batch file which uses the com.sshtools.j2ssh.transport.publickey.SshKeyGenerator class.
com.sshtools.common.keygen.Main is a Swing program. On *nix, try:
will pop up a nice little GUI.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.