pfSense 2.x Cookbook
上QQ阅读APP看书,第一时间看更新

How to do it...

  1. Navigate to System | Advanced.
  2. In the Secure Shell section of the page, check the Enable Secure Shell checkbox:

  1. With the current settings, you will be prompted for a username and password when logging into the console remotely. But by changing the SSHd Key Only setting to Public Key Only, you can set it so that only logins with a public key will be allowed. See the next recipe for details on how to generate an RSA public key.
  2. Leave SSH port set to the default, port 22.
  3. When you are done, click on the Save button.