-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh auth using signed certificate #204
Comments
check out the remote signer code is still in v0 branch |
Thank you for your response. I don't think it is quite what I'm looking for. I don't see an ssh.Certificate being used in the provided links. I want the benefit of being able to use a signed certificate so that access expires. I have working code using sshpiper with an RSA public & private keypair. I also have working code using This question from stackoverflow shows how to use a signed certificate for auth. I'd like to do this in combination with sshpiper. The relevant code from stackoverflow answer follows. The
|
seems you are talking about dropin replacement for ssh https://github.com/tg123/sshpiper.crypto/tree/v1 if you want to build your own sshpiperd like server, you can check code here here is also a live example for how to use sshpiper.crypto |
I've been trying to use signed certificates to do ssh auth via PublicKeyCallback & CreatePrivateKeyAuth. So far I've been unable to convert the signed cert into the byte slice param provided to
CreatePrivateKeyAuth
. Maybe this is not the correct auth provider for certificates. I also see CreateRemoteSignerAuth, but I can't envision what input would be in themeta
string param. WhichSshPiperPluginConfig
callback & auth provider should be used with signed certificates? I haven't been able to find an example using certs for auth.The text was updated successfully, but these errors were encountered: