Hey guys, Interesting idea I was presented with the other day. As an organization, we have pushed hard for MFA. We try to use it for new external apps, sites, etc.
However, I just came up against a new one. A customer has a requirement to SSH to a server from the Internet, no problem I can proxy that. But how can we MFA that? Yes, DUO has a plugin that can handle it BUT someone will have access to that server directly.
I want to try and control access with APM and my initial thought was some type of network access webtop. Only ‘issue’ is, you guessed it, port 22. Can I / is it possible, that if someone tries to SSH in on 22, a ‘popup’ or dialog is created via APM prompting them for credentials and their DUO token?
no, i don’t believe you can just put something in the middle of a SSH session. you could put up a webtop that sets up an application tunnel for 22. but that requires a different workflow.
AFM does provide a ssh proxy now, but that remains limited and doesn’t add authentication methods as far as i can see.
I just got SSHproxy with AFM working. E.g. SCP upload/download can now be blocked to/from my backend server. I presume it is something like that you want, so take a look at AFM SSHproxy.
Could I also get some assistance with this? I was thinking of some sort of network access group that can use a SNAT pool and split tunnel to send only traffic destined for the ssh server through the tunnel, and then I will setup ACLs based on an AD group after they login using MFA. I’m sure that isn’t the best approach, but I was just blindsided by this request today.