Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fester:ssh_setup [2016/06/11 16:17] – [Configure SSH in FreeNAS] dan | fester: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 ===== | ||
- | |||
- | p { margin-bottom: | ||
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). | 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). | 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). | ||
+ | |||
+ | {{: | ||
Now you are logged into FreeNAS. | 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, | ||
+ | * Make sure the remaining tick boxes are unchecked (5). | ||
+ | * Now click the “OK” button (6). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now turn on the SSH service. | ||
+ | |||
+ | {{: | ||
===== 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, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now select the “root” user account (1) (it will turn blue when selected) and click on the “Modify User” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 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). | ||
+ | |||
+ | {{: | ||
===== Setting up PuTTY in Windows ===== | ===== Setting up PuTTY in Windows ===== |