Pragma Systems Technical Forum
Home
»
Community
»
FortressSSH
SSH1 Key with Pragma Fortress
https://forums.pragmasys.com/Topic307.aspx
By Purvesh Kulkarni
-
7/27/2015 1:55:47 AM
Hello All,
I want to generate an SSH1 key (RSA) (Private-Public pair) however, I am unable to provide an input to the sshkeygen.exe command and specify the necessary type of the key.
After searching on the internet, I found an option (-I) to import SSH2 into an SSH1 file, however, the option is not working (throws an error).
C:\Program Files\Pragma Fortress Server\Clients>sshkeygen.exe -t rsa -i -f "C:\Users\Pragma_User\AppData\Roaming\PragmaSSH\id_rsa_ssh1"
Error reported is - No such file or directory
Can somebody suggest a correct combination in the command or another way to generate SSH1 compatible key using Pragma Fortress?
By bethredd
-
7/27/2015 2:25:06 AM
Hello,
You can generate a rsa1 key by using the "-t rsa1" parameter.
So your command line should be:
sshkeygen -t rsa1 -f c:\users\pragma_user\appdata\roamin\pragmassh\id_rsa_ssh1
You can get more information on our sshkeygen program at
www.pragmasys.com/ssh-server/topics/idh-sshkeygen.htm
By Purvesh Kulkarni
-
7/29/2015 5:51:29 PM
Thanks bethredd for your response. It works!!!