You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I testing warpgate if it fulfill my needs.
Question:
On my target systems the the same users could have different usernames.
In the current implementation I can only set a general user for a target or none to use the warpgate username.
But I have the requirement, that the session on the target system have to be with personal user account in the environment.
So, my idea was now to provide the warpgate username by an environment variable which I allow over AcceptEnv in the sshd_config.
The first login step is with a technical jumpuser on the target system and a forced command.
The forced command make the matching between warpgate user <> system user and automatically do a userswitch.
A bit dirty I know but should work. Already testet it by manually set the env with -o "SetEnv FOO=bar"
More advanced would be if I could already create a matching between warpgate user, target username and target system directly in warpgate.
What do you think?
Would something like this possible?
The text was updated successfully, but these errors were encountered:
BlueCase
changed the title
Username as Environment Variable
Username as Environment Variable with ssh
Dec 5, 2024
Currently I testing warpgate if it fulfill my needs.
Question:
On my target systems the the same users could have different usernames.
In the current implementation I can only set a general user for a target or none to use the warpgate username.
But I have the requirement, that the session on the target system have to be with personal user account in the environment.
So, my idea was now to provide the warpgate username by an environment variable which I allow over AcceptEnv in the sshd_config.
The first login step is with a technical jumpuser on the target system and a forced command.
The forced command make the matching between warpgate user <> system user and automatically do a userswitch.
A bit dirty I know but should work. Already testet it by manually set the env with -o "SetEnv FOO=bar"
More advanced would be if I could already create a matching between warpgate user, target username and target system directly in warpgate.
What do you think?
Would something like this possible?
The text was updated successfully, but these errors were encountered: