Koozali.org: home of the SME Server

Setting up a website

Offline fastautomation

  • **
  • 31
  • +0/-0
Setting up a website
« on: October 29, 2008, 12:05:12 PM »
Can anyone please tell me how to setup ftp access to the website folder as our web guy needs to start developing our website and he requires ftp access.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Setting up a website
« Reply #1 on: October 29, 2008, 04:00:37 PM »
Some questions:
- which ibay does the web guy need to access ("Primary" for the default website)?
- Is the web guy allowed to have Admin rights on your SME, or is he only to be allowed ftp upload to a specific folder?
- Is the web guy working from the LAN or from the WAN?


Offline fastautomation

  • **
  • 31
  • +0/-0
Re: Setting up a website
« Reply #2 on: October 29, 2008, 04:22:04 PM »
He needs to access the primary Ibay from a WAN, at this stage in time, because I've got a time restraint, he can have admin rights, what every is easiest and quickest to setup.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Setting up a website
« Reply #3 on: October 29, 2008, 05:29:41 PM »
If he can have admin rights, the easiest access would be:

1) Give him the admin password
2) enable password-only access to your system for 'sshd' from the entire internet
3) have him use "WinSCP" to upload files to the Primary ibay

html==> /home/e-smith/files/ibays/Primary/html
executables (cgi scripts etc) ==> /home/e-smith/files/ibays/Primary/cgi-bin

(Giving him admin ftp access would involve exposing your admin password in plain text on the Internet)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Setting up a website
« Reply #4 on: October 30, 2008, 10:43:56 AM »
If the "Web Guy" is using an authoring package the will also be the ftp client, do any of those have SCP/sFTP capability (that anyone knows of)?

Edit: I see Dreamweaver does.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14787
« Last Edit: October 30, 2008, 10:46:30 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline fastautomation

  • **
  • 31
  • +0/-0
Re: Setting up a website
« Reply #5 on: October 30, 2008, 10:50:37 AM »
Thanks for all the help, I'm just going to get him to use winscp.
Thanks again.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Setting up a website
« Reply #6 on: October 30, 2008, 12:42:29 PM »
You can give hime WinSCP access without giving him the admin password if you can get public/private keys to work.

Also, I always change the sshd port in server-manager in order to avoid getting loads of "bad password for user <blah>" errors in the log files.