securing ssh with apm

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 have a solution around this but it’s not quite public yet. Send me a PM and I can email you off forum if you’re interested.

Super interested… I’ll PM ASAP

there is a ssh profile to control ssh sessions, it is new in 12.1. Belongs to the AFM

Dear Bill,

I’m having similar requirement of securing SSH access of an back end linux server using APM. Please let me know the email ID where I can contact you.

Bill, I have the same requirement. Has anything been published, or can you tell me how to contact you?

Thanks,

Stan

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.

@stan, I sent you a PM.

Hi I 've the same issue and i 'd like to know your solution. If you mind ?

Hi, I have the same issue. I’d like to take part of your solution. Br Andréas

I have a similar requirement Bill. Please get in touch.

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.

Hi Bill,

I also need similar solution for one of our customer, he wish to control ssh upload/download when user is accessing servers over APM tunnel.

Thanks,

Sachin

Is this item already public? I need to deploy exactly this, but I have no info to PM Bill

ill, I have the same requirement. Has anything been published, or can you tell me how to contact you?

Thanks,

Stan