Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: fastautomation on October 29, 2008, 12:05:12 PM

Title: Setting up a website
Post by: fastautomation 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.
Title: Re: Setting up a website
Post by: mmccarn 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?

Title: Re: Setting up a website
Post by: fastautomation 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.
Title: Re: Setting up a website
Post by: mmccarn 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)
Title: Re: Setting up a website
Post by: william_syd 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
Title: Re: Setting up a website
Post by: fastautomation 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.
Title: Re: Setting up a website
Post by: mmccarn 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.