Sample Header Ad - 728x90

Will removing an SSH key during an active session kick me out of the session?

3 votes
1 answer
77 views
I am carrying my SSH key in a [NitroKey](https://nitrokey.com) smartcard, meaning that in order to SSH into a remote server, I first have to plug in the NitroKey so the local computer can read the private key. However, I am wondering if I need to keep the private key available (i.e. keep the NitroKey plugged in) even after I've already established an active session? Does SSH continuously check whether the SSH private key is present during an active session? Or does it only check when connecting, and never afterwards? (meaning that I can remove the NitroKey without risking the session being interrupted)
Asked by Mads Peter Rommedahl (33 rep)
Sep 4, 2020, 07:55 AM
Last activity: Sep 4, 2020, 10:10 AM