Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

View all websites with root FTP access

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
jimmy
Posts: 25
Joined: Thu May 15, 2014 6:51 am

View all websites with root FTP access
  • Quote

Post by jimmy » Fri May 16, 2014 2:20 am

When using FTP and loging as root, I cannot see all the websites I created on /var/www/...
do I have to create FTP account for every domain to be able to upload files?
Top

pedagang
Posts: 14
Joined: Fri Mar 14, 2014 2:01 pm

Re: View all websites with root FTP access
  • Quote

Post by pedagang » Fri May 16, 2014 3:28 am

hi
domain root folder is "/home/admin/web/mydomain.com/public_html"
for ftp accout : learn your vestacp, look at "web" menu, you can create ftp accout under web name

ftp acces under "root" is not secure
Top

jimmy
Posts: 25
Joined: Thu May 15, 2014 6:51 am

Re: View all websites with root FTP access
  • Quote

Post by jimmy » Fri May 16, 2014 5:50 am

pedagang wrote:hi
domain root folder is "/home/admin/web/mydomain.com/public_html"
for ftp accout : learn your vestacp, look at "web" menu, you can create ftp accout under web name

ftp acces under "root" is not secure
Yes, I know how to create ftp for each domain
but the problem is that I have a few websites, I don't want to create FTP for each one to be able to upload files :(
I want to use a single FTP account (root in our case) and be able to upload different files for each website
Top

pedagang
Posts: 14
Joined: Fri Mar 14, 2014 2:01 pm

Re: View all websites with root FTP access
  • Quote

Post by pedagang » Fri May 16, 2014 7:52 am

so don't create ftp account at all
login ftp via "root" then you can access/upload to all folder, include all domain root folder "/home/admin/web/"
am I right ?

for file manager purpose and other, I install webmin and no problem with vestacp
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: View all websites with root FTP access
  • Quote

Post by drMacFaulty » Sat May 24, 2014 10:59 pm

I hope you do realize that using ftp as root is unsafe. As a second point, you may also run into permission issues, as you're uploading files with another user than the one that 'belongs' to that account which the webserver also uses.

I'd just get an ftp client with bookmarks and define them all once, after that it's click 'n enjoy :)
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: View all websites with root FTP access
  • Quote

Post by imperio » Fri Jun 27, 2014 12:00 pm

Hi,
You can use login of user for ftp access
and then you will see all domains of your user

credentials for example
host - ip adress of your server
login - name of your user in vesta
password - password of you user in vesta
Top

karljsamuel
Posts: 1
Joined: Sat Jan 09, 2016 10:51 am

Re: View all websites with root FTP access
  • Quote

Post by karljsamuel » Sun Jan 10, 2016 1:38 pm

Does I have all permissions with the folders with my domains?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: View all websites with root FTP access
  • Quote

Post by skurudo » Tue Jan 12, 2016 9:54 am

karljsamuel wrote:Does I have all permissions with the folders with my domains?
Almost all.
As you can see, you can't touch from user:

Code: Select all

-rw-------  1 admin admin   40 Oct 21 11:51 .bash_history
-rw-r--r--  1 admin admin  220 Sep 25  2014 .bash_logout
-rw-r--r--  1 admin admin 3392 Sep 25  2014 .bashrc
drwxr-xr-x  5 root  root  4096 Oct 21 08:02 conf
drwxr-x--x  4 root  root  4096 Oct 28 17:30 mail
-rw-r--r--  1 admin admin  675 Sep 25  2014 .profile
drwxrwx--x  2 admin admin 4096 Oct 21 08:02 tmp
drwxr-x--x  4 admin admin 4096 Dec 14 14:31 web
and inside /home/user/web/domain.com/logs (files just simplinks to /var/log/apache2/domains/..)
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: View all websites with root FTP access
  • Quote

Post by mehargags » Mon Jan 18, 2016 4:45 pm

you are complicating everything too much. Just put your IP or any domain in your Server field and login with your VestaCP User & password. For eg. If you have 10 domains hosted in your user "admin", loggin in with admin to your FTP will give you master access to all your Websites.

Beware with this method, your website may stop working if you delete/rename any system defined folder.
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password