Re: Format of ssh private key (General questions)
Marco,
we have wodKeys component (shipped with wodSFTP) for dealing with keys. Call it's Generate method to create new keys.
Don't forget to upload public key to the server!
Regards.
Dear,
we have some problem to generate a key with wodssh C/C++ code.
You write us this VB code:
Private Sub Form_Load()
Dim K As Keys
Set K = New Keys
K.Load App.Path & id_dsa.txt
Dim b() As Byte
b = K.PrivateKeyData(DSAkey)
Open App.Path & keydata For Binary As #1 Len = 1
Dim i As Integer
Dim j As Integer
j = 1
For i = LBound(b) To UBound(b)
Put #1, j, b(i)
j = j + 1
Next i
Close #1
End Sub
we can't use the key from file (in your example id_dsa.txt) because of security problem and we need to use it from mysql db.
Is there a way to create a correct key to load manually to mysql db?
thanks
Complete thread:
- Format of ssh private key - Marco, 2004-11-02, 01:26
- Re: Format of ssh private key - wodSupport, 2004-11-02, 01:28
- Re: Format of ssh private key - Marco, 2004-11-02, 10:58
- Re: Format of ssh private key - wodSupport, 2004-11-02, 11:25
- Re: Format of ssh private key - Marco, 2004-11-02, 11:42
- Re: Format of ssh private key - Marco, 2004-11-02, 13:17
- Re: Format of ssh private key - wodSupport, 2004-11-02, 13:22
- Re: Format of ssh private key - Marco, 2004-11-02, 15:17
- Re: Format of ssh private key - wodSupport, 2004-11-02, 15:23
- Re: Format of ssh private key - Marco, 2004-11-02, 15:17
- Re: Format of ssh private key - wodSupport, 2004-11-02, 13:22
- Re: Format of ssh private key - Marco, 2004-11-02, 13:17
- Re: Format of ssh private key - Marco, 2004-11-02, 11:42
- Re: Format of ssh private key - wodSupport, 2004-11-02, 11:25
- Re: Format of ssh private key - Marco, 2004-11-02, 10:58
- Re: Format of ssh private key - wodSupport, 2004-11-02, 01:28