Let users ssh as a single user (e.g. deploy) through the SSH Proxy

Been following this guide: https://developers.cloudflare.com/cloudflare-one/policies/filtering/network-policies/ssh-logging/

There is a section named “Advanced setup: Differing usernames” which I’ve followed, but anytime I try to ssh into the server like so ssh deploy@server_ip it tries to authenticate me as myname based on being logged into WARP as [email protected].

Once I add the user myname to the Ubuntu server it will authenticate fine but not as the user I specified in this case deploy

Any help on accomplishing my my team to access servers using ssh deploy@server_ip would be appreciated :bowing_man:

Bump. Any help would be appreciated.

I don’t think what I’m drying to achieve is entirely possible, so I’ve decided to the following

  • Create a user for every principal (which seems to be required)
  • Add every user to the deploy group
  • Now a user can login using deploy@ip but… will be connected as their principal

The use of differing usernames is covered here: