So I have set up ssh
and my routers
And now i can connect to the MBW from anywhere in the world and access the files i want.
However there is no permission to write any data to it.
P.S. I am an experienced computer user, but a total linux noob, so please be nice and be precise.
So I have set up ssh
seems like you're some steps ahead of me. My goal is also to have access to my MBW from anywhere using VSFTPD of SFTP. I have the ssh setup, how to get the vsftpd running? and what has to be configured on the router?
thanks in advance
Under what account did you log in? Please log in as root, then you should be able to upload files.
I used the master login.
What is the root user and password?
Or how do i find it?
I assume you are using PuTTy or something simmilar?
Open PuTTy and log in using your username and password.
Then type 'su' (short for switch user). Now you are root. (as root your username is 'root') If this is your first login as root you will be asked to create a password. Do this and then and your session.
Go to your FTP client and log in using 'root' as username' and the password you created just now as your password. Now you should be able to upload data.
Thanks thats awesome.
I am actually using Transmit for Mac.
I did get it working
However Root can access every directory read and write.
How can i setup a user for sftp that can read and write? that can only read and write a single directory?
Hi, I'm having the same issues, is it possible to create a user that has R/W permissions on a particular folder? Or is it restricted to root that can upload new files? I'm trying to create a public share folder that others can access and upload to, without giving them ROOT permissions - can it be done?
Done it, i needed to change the directory permissions to 777 so that the guest user can upload to the public share folder.
chmod 777 /path/folder
I created a script that changes the umask value to 002. By default is 022, which means that group users cannot write. You essentially need to create a sftp jail
I'm puting together a step by step at the moment to show how to do this. If you only have a single user, it's not so hard, but when you have more than one user with sftp or samba, it's trickier to get everything working.