[[fester:ssh_setup]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
fester:ssh_setup [2016/06/11 16:15] – [Using SSH on Linux] danfester:ssh_setup [2016/06/11 16:27] – [Specify SSH Public Key For a User] dan
Line 8: Line 8:
  
 ===== Configure SSH in FreeNAS ===== ===== Configure SSH in FreeNAS =====
 +
 +Open your web browser and type in the IP address of the FreeNAS web GUI that you noted down earlier (Fester used 192.168.0.58).
 +
 +The web GUI will present itself and ask for the login details. Enter the username which is **root** (1) and your password (2) and click the “Log In” button (3).
 +
 +{{:fester:4546365f86b7b6a07f1bd4625a420f41.png}}
 +
 +Now you are logged into FreeNAS.
 +
 +  * Now navigate to the “Services” page (1).
 +  * Click on the tiny spanner icon next to “SSH” (2).
 +  * If you do not want the root user to be able to log in using only a password (i.e., if you want to require a public key, or if you don't want the root user to be able to log in remotely at all), uncheck the “Login as Root with password” tick box (3).
 +  * If you want to require public key authentication, uncheck the “Allow password authentication” tick box (4).
 +  * Make sure the remaining tick boxes are unchecked (5).
 +  * Now click the “OK” button (6).
 +
 +{{:fester:647972c64ceada196469d6534ed658b3.png}}
 +
 +Now turn on the SSH service.
 +
 +{{:fester:3d011781aafeb935e90e626a3467e320.png}}
  
 ===== Specify SSH Public Key For a User ===== ===== Specify SSH Public Key For a User =====
 +
 +If you have required public key authentication in the SSH configuration, you'll need to tell FreeNAS what the public key is for each user who will be connecting via SSH. To do that, Navigate to the “Account” page by clicking on the Account icon (1). Now click on the “Users” button (2).
 +
 +{{:fester:66e90c4c7eff16fe31f901188c5fa71c.png}}
 +
 +Now select the “root” user account (1) (it will turn blue when selected) and click on the “Modify User” button (2).
 +
 +{{:fester:cb56ce7ed62559242f0ad951c5b75c0b.png}}
 +
 +The modify user window should now pop up. Scroll down till you come across the “SSH Public Key:” entry (1).
 +
 +Now right click in the blank box next to it and paste in the previously copied public key (2).
 +
 +Now click the “OK” button (3).
 +
 +{{:fester:d2c38fb0b46a57606ca2906c017b5831.png}}
  
 ===== Setting up PuTTY in Windows ===== ===== Setting up PuTTY in Windows =====
  • fester/ssh_setup.txt
  • Last modified: 2017/06/29 11:42
  • by dan