Network-Attached Storage With FreeNAS - Page 8

8 Our Second Test

If you check again in your Windows Explorer or your FTP client, you should now also see the RAID share:

 

9 Adding Local Users

Services such as SSH don't allow anonymous logins. Also, if you have configured FTP and CIFS to not allow anonymous logins, you must create local users now on the FreeNAS system that can log in to each service.

To create users, we must first create group to which we can add the users. Go to Access -> Users and Groups and then to the Groups tab and click on +:

Enter a name and description for the group and click on Add:

Then apply the changes:

Next go to the Users tab and click on +:

Enter a user name and password and select the group that you've previously created. If you enable Full Shell, the user cannot only use SCP (like WinSCP), but also log in on the shell. If you don't enable Full Shell, the user is restricted to using SCP:

Apply the changes:

 

10 Using SCP

Now that SSH is enabled on the FreeNAS server and you've created a local user, that user can also use SCP (e.g. with WinSCP) to access the NAS shares.

Fill in the host name, user name, and password, and make sure to select SCP:

After the successful login, you can see both NAS shares:

 

Share this page:

3 Comment(s)

Add comment

Comments

From: Anonymous

I followed the instruction and it worked well except that the article is incomplete.  FTP & SCP works.  I can't get the SMB portion to work properly.   I am seeing the freenas machine and I am able to Map the resource from the Windows side but it keeps asking for my password (obviously not accepting it).  No solution were found.

From: Anonymous

For a windows pc to accept the conection you must use the ip\username format  in the user field

for example your freenas ip is: 1.1.1.1 and you have a user : myuser1 then

when asked you should use  1.1.1.1\myuser1 in the username field

that is for windows to know that the user is not local or domain suplied.

that works.

 

 

From: Anonymous

Works WELLL!!!! You own man ! Instaling freenas was just a piece of cake.It was very easy so tank you very much!