is there a way to remove/revoke the token on the local/client machine? #311
-
I believe i am asking that correctly. So i use opkssh login, get through the auth and i can now log into a remote machine that i couldn';t otherwise log into and get dropped into a shell, as expected. I know the tokens are short lives and i can dial down the time they're accepted on the server side, but can i use the opkssh binary on the client side to remove/revoke the token so that i will now not be able to log in? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Great question. Currently the only way to do this is to delete the SSH cert that opkssh creates on your machine. It would be trivial to add a command to opkssh like Create an github issue for this. Let me know if you want to PR this as a feature, otherwise I'll build it in a week or two when I get a free moment. |
Beta Was this translation helpful? Give feedback.
-
Sounds good. I'll open an issue. I'll leave the building to the experts, my skills are more along the lines of breaking things when i dig into them :) |
Beta Was this translation helpful? Give feedback.
Great question. Currently the only way to do this is to delete the SSH cert that opkssh creates on your machine. It would be trivial to add a command to opkssh like
opkssh logout
which will delete all opkssh SSH certs.Create an github issue for this. Let me know if you want to PR this as a feature, otherwise I'll build it in a week or two when I get a free moment.