• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

how to add sftp on the server

  • Thread starter Thread starter rinku2012
  • Start date Start date
Status
Not open for further replies.
R

rinku2012

Guest
Hello,

i got a new VPS for images server. I want to have only images in the server. Do i need to install cpanel or should i just get root access to the server and give sftp details ( root details) under the dashboard external servers area ?

if i can do the above process what url should i be using ?

Presently my setup is as mentioned below

Server A has imagehosting script ( maindomain.com)
Server B has images only with cpanel (img1.maindomain.com) .

i have created subdomain on main server cpanel (img1.maindomain.com) and give then Server B ip in DNS settings in WHM
so i can access server B with http://img1.maindomain.com/pictures/

so if i dont install cpanel on new server and give sftp what should i be giving on domain url ?
 
Sure you can set an external server without cPanel or any control panel at all. Chevereto will only use the protocol (SFPT) to communicate with the machine and that doesn't needs cPanel, also it doesn't need anything extra installed besides an HTTP server like nginx that is needed to serve the images using the HTTP protocol.

The URL can be anything you set in that server, it could be a sub-domain, a root domain, etc. That will depend on your website config (httpd.conf for Apache or nginx.conf on nginx) + DNS mapping so any URL that resolves that server will work for you, and you can even do a CNAME so you will get something neat like s1.mydomain.com

Hope it helps.
 
or should i just get root access to the server and give sftp details ( root details) under the dashboard external servers area ?
What? No! Never use root. Always secondary accounts. While that account might be able to use root (via su) never use your primary root@ account for things.

Your FTP account that you're using for this should (ideally) be limited to only the directory that it's storing the files in. The last thing you want is for there to be some small compromise and then they gain access to your VPS root info.
 
Thanks for letting me know SirMoo. i will follow your suggestions for using sftp
 
Status
Not open for further replies.
Back
Top