Re: publickey auth - WeOnlyDo Discussion board

Re: publickey auth (General questions)

by Jeff, Tuesday, March 28, 2006, 02:17 (6601 days ago) @ Jeff


This is the example I am looking at right now.

Private Sub wodSSHD1_LoginPubkey(ByVal User As
wodSSHDComLIB.ISSHUser, ByVal Login As String, ByVal
PublicKey As String, Action As wodSSHDComLIB.SSHActions)
If Login = joe And PublicKey = ssh-rsa
AAAAB3NzaC1.....A5dxuzFobhu+m1xgv8= Then
Action = Allow
End If
End Sub


This is what the public key looks like in the file.
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBALT3gV03ajV/gBRcAWJBmpT421Kr9QGosGpPhx622TqM4LJ6uNNyeUAU
r4ZtocaqYH4jONOz8m+63o5KyZT8rleQZiRGycqFkfpKtg7qAbnKosHZO5pIPefd
fL0F+PdFwT8IneHB02jvkyZ3DkB0CSdhaMT3pkGsonik1nnzP3AHAgMBAAE=
-----END RSA PUBLIC KEY-----

Is it even possible?


Complete thread: