Koozali.org: home of the SME Server

Allowing FTP access for web designer

Offline dave simmons

  • ****
  • 125
  • +0/-0
Allowing FTP access for web designer
« on: March 17, 2018, 02:27:08 PM »
Hi, hoping someone can help.  We've decided to go for a more professional look for our website, and a friend's daughter (who works for a design bureau) has agreed to do it for us.

I have enabled FTP access via the server-manager, and created an account on the server for her, but she is unable to FTP to the primary/html directory using her credentials.  If I allow her to login as admin, then she can, but she also needs to navigate to the correct directory.

What would be ideal would be to have her login using her credentials via FTP and automatically arrive at the right directory. Or would it be more sensible/safer to have her log into a different directory and link the web site to this?

What are other users doing?

Any suggestions/observations?

Thanks  :)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Allowing FTP access for web designer
« Reply #1 on: March 17, 2018, 03:47:35 PM »
Don't use primary, create an ad hoc ibay
AMD search here and the wiki, there are dozen of posts about it

Offline brianr

  • *
  • 990
  • +2/-0
Re: Allowing FTP access for web designer
« Reply #2 on: March 17, 2018, 04:17:57 PM »
Don't use primary, create an ad hoc ibay
AMD search here and the wiki, there are dozen of posts about it

and use the "remoteaccess" contrib.

https://wiki.contribs.org/Remoteuseraccess

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline dave simmons

  • ****
  • 125
  • +0/-0
Re: Allowing FTP access for web designer
« Reply #3 on: March 17, 2018, 04:22:25 PM »
Thanks guys, I obviously didn't look carefully enough!  Will give it a try!

(Stand by for the next round of stupid questions!)   :)

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Allowing FTP access for web designer
« Reply #4 on: March 17, 2018, 08:47:24 PM »
ftp is not secure, the password have traveled without encryption over the net, so first thing first :
- change admin/root password
- change her password.


Then I would suggest to rather use sftp or scp (ie over ssh). Configure her a rsa key with passphrase, this is the way to go secure.

Currently we do not have out of the box way to chroot her to the ibay you want, so she still will have the need to "cd  /home/e-smith/ibays/youribay/html". I have some POC around to make a contribs, but not finished.

The remote access contrib chroot works only for ftp.

The best approach is as suggested Stefano to do this on a specific ibay, but if you want to really use Primary, then you will need to change the default ownership in the db to have the ibay owned by a group you can add your designer. Anyway, if this is dev purpose and your site is live on the Primary, you better have her to work on the copy on a nother ibay and move it later.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Allowing FTP access for web designer
« Reply #5 on: March 18, 2018, 05:39:32 AM »
and use the "remoteaccess" contrib.

https://wiki.contribs.org/Remoteuseraccess

...and use an ftp client that allows you to issue the cd command eg sftp from memory, search the forums on ftp & remoteuseraccess, there were a number of extensive posts on this subject a few years ago.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.