This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos UTM - how to config SSH for public key auth?

Hi - I've recently moved from pfsense to Sophos UTM Home Edition.  Am accustomed to using user-specific public keys for SSH access.  How do you configure this under Sophos UTM?  I've been googling and searching this forum for a guide w/o success.

Have enabled SSH Access under Management > System Settings > Shell Access.  Currently set to allow password authentication.  However I'd like something more secure than a generic user login and password.

1.) How do you create the needed public key in Windows (i.e. puttygen) so that it's in the appropriate format for Sophos?
2.) how do you get it to Sophos UTM?  I assume you use WinSCP to copy the public key?
3.) Where (path) does the public keyfile need to go?
4.) Once public keyfile has been copied to Sophos UTM, and Allow Public Key Authentication has been enabled, how do you add the public keyfile under Authorized keys for loginuser?

When I login via SSH via basic password authentication, I do not see an ~/.ssh folder currently under /home/login.

Thanks in advance.


This thread was automatically locked due to age.
Parents
  • Puttygen is pretty much self-explanatory: click Generate and save the two files.  Before closing the window, select and copy the displayed text of the public key.

    Then in WebAdmin, simply click the green + to add a new public key, paste the copied text, and click Apply. That's it, it's uploaded.
  • Puttygen is pretty much self-explanatory: click Generate and save the two files.  Before closing the window, select and copy the displayed text of the public key.

    Then in WebAdmin, simply click the green + to add a new public key, paste the copied text, and click Apply. That's it, it's uploaded.


    Thanks so much jetkins for the simple, straight forward explanation.  I apologize for the basic question, but am only a few days into Sophos UTM from pfsense and trying to overcome my learning curve.  Needless to say I've just followed your steps and connected via Putty w/public key auth.
Reply
  • Puttygen is pretty much self-explanatory: click Generate and save the two files.  Before closing the window, select and copy the displayed text of the public key.

    Then in WebAdmin, simply click the green + to add a new public key, paste the copied text, and click Apply. That's it, it's uploaded.


    Thanks so much jetkins for the simple, straight forward explanation.  I apologize for the basic question, but am only a few days into Sophos UTM from pfsense and trying to overcome my learning curve.  Needless to say I've just followed your steps and connected via Putty w/public key auth.
Children
No Data