Remote SSH toolchain credential expiration behavior
0 reputation · 03 Aug 2020, 20:21 UTC
SSH Session Persistence and Credential Rotation
CLion utilizes the host's OpenSSH configuration and an internal password safe to manage remote development connections. When using a remote toolchain, the IDE maintains an active session to handle file synchronization and build execution.
There is uncertainty regarding how the IDE handles the transition when remote credentials expire or are revoked while a session is active. Because CLion relies on cached secrets, it may continue to operate until a specific command triggers a re-authentication failure, rather than detecting the credential change proactively.
Does CLion distinguish between a stale cached credential and a revoked one during an active remote session? If a credential expires, does the IDE provide a targeted re-authentication prompt, or does it surface a generic toolchain error requiring a manual clear of the password safe?