Jump to content

Issues with browser based remote sessions that use SSH keys


gshub77
 Share

Recommended Posts

I am currently in the trial and working on setting up the Browser based terminals.  Everything is working, the recording, the access, etc.  but after some period of time(a few hours) the credentials that use SSH keys stop working with a generic message and in the error console I get this error message:

Error Code = Could not find a part of the path 'c:\temp\recordings\temp\3fbf6400d7b34a1a9caf3cf100a728cc'., 
StackTrace = at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, 
FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, 
Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, 
FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, 
Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, 
Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding 
encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path) at Passwordstate.RemoteSessionCredential.WritePrivateKeyFile(String 
PrivateKey, String KeyFileName) at Passwordstate.RemoteSessionCredential.QueryRemoteSessionCredentialsForHost
(String HostID, Boolean WebSession, Boolean WritePrivateKey, String SelectedPasswordID)

when this is happening, it is not creating the ephemeral file that stores the private key temporarily.  restarting the gateway solves the problem.  And while this is happening authentications via password work just fine.

Link to comment
Share on other sites

Hello,

 

For security reasons, we delete the SSH key immediately after authentication. Are you aware of anything with your session as to why it requires re-authentication - we've never come across this ourselves before?

Regards

Click Studios

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...