[[fester112:ssh_setup]]

Differences

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

Link to this comparison view

fester112:ssh_setup [2017/06/29 11:42]
A User Not Logged in external edit
fester112:ssh_setup [2019/05/27 12:06] (current)
dan Update for FreeNAS 11.2
Line 11: Line 11:
 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** and your password (2) and click the “Log In” button.
  
-{{:fester:4546365f86b7b6a07f1bd4625a420f41.png}}+{{:fester112:pasted:​20190526-224554.png}}
  
 Now you are logged into FreeNAS. Now you are logged into FreeNAS.
  
-  * Now navigate to the “Services” page (1)+  * Click "Services" in the left column, then scroll down to SSH. 
-  * Click on the tiny spanner ​icon next to “SSH” (2)+{{:​fester112:​pasted:​20190527-115825.png}} 
-  * 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)+  * Click the pencil ​icon to the right, then "​Configure"​ from the pop-up menu
-  * If you want to require public key authentication,​ uncheck the “Allow password authentication” tick box (4)+  * 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. 
-  * Make sure the remaining tick boxes are unchecked ​(5)+  * If you want to require public key authentication,​ uncheck the “Allow password authentication” tick box. 
-  * Now click the “OK” button ​(6).+  * Make sure the remaining tick boxes are unchecked. 
 +  * Now click the “Save” button.
  
-{{:fester:647972c64ceada196469d6534ed658b3.png}}+{{:fester112:pasted:​20190527-115956.png}}
  
 Now turn on the SSH service. Now turn on the SSH service.
  
-{{:fester:3d011781aafeb935e90e626a3467e320.png}}+{{:fester112:pasted:​20190527-120029.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).+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, click on "​Accounts"​ in the left column, then "Users".
  
-{{:fester:66e90c4c7eff16fe31f901188c5fa71c.png}}+{{:fester112:pasted:​20190527-120159.png}}
  
-Now select ​the “root” user account ​(1) (it will turn blue when selected) ​and click on the Modify User” button (2).+Now click the three vertical dots to the right of the “root” user account and click on “Edit” in the pop-up menu.
  
-{{:fester:cb56ce7ed62559242f0ad951c5b75c0b.png}}+{{:fester112:pasted:​20190527-120301.png}}
  
-The modify user window should now pop up. Scroll down till you come across the “SSH Public Key:” entry (1).+The modify user window should now pop up. Scroll down till you come across the “SSH Public Key” entry.  Now right click in the blank box next to it and paste in the previously copied public key.
  
-Now right click in the blank box next to it and paste in the previously copied public key (2).+{{:​fester112:​pasted:​20190527-120421.png}}
  
-Now click the “OK” button ​(3).+Now click the “Save” button.
  
-{{:fester:d2c38fb0b46a57606ca2906c017b5831.png}}+{{:fester112:pasted:​20190527-120443.png}}
  
 ===== Setting up PuTTY in Windows ===== ===== Setting up PuTTY in Windows =====
  
-Modern operating systems ship with an SSH client installed. ​ Unfortunately,​ Windows is still not a modern operating system in this regard, so a third-party client will need to be used.  Popular clients include [[https://​www.bitvise.com/​|Bitvise]] and [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]].+Modern operating systems ship with an SSH client installed. ​ Unfortunately,​ Windows, prior to Windows 10, is still not a modern operating system in this regard, so a third-party client will need to be used.  Popular clients include [[https://​www.bitvise.com/​|Bitvise]] and [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]].
  
 ===== Public Key Authentication in PuTTY ===== ===== Public Key Authentication in PuTTY =====
  • fester112/ssh_setup.txt
  • Last modified: 2019/05/27 12:06
  • by dan