• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How to setup full FTP Access on one user?

LordLiverpool

Basic Pleskian
TL;DR
How do I connect to my server as root so I can see the entire file system of my server?

----------------------------------------------------------------------------------------------------------------------------


I've got an AWS Plesk Lightsail Onyx Server.

I'm having issues with FTP accounts I created:
ubuntu can access directories such as /etc, /bin, /dev but it can't access /root.

Neither can it access /var/www/vhost/website

The ubuntu user gets this error:
Error Code 3.jpg

So I then created an FTP system user account using these instructions:

Adding FTP Accounts
Adding FTP Accounts

Plesk YouTube Video

But when I tried to connect, I get the following error message:

FTP_account_error.jpg

A quick google revealed this thread:
Issue - SSH / SFTP WinSCP Putty

To fix the problem I also had to do steps 3 and 4 from this AWS webpage:
Enable Password Login for Connecting to EC2 Instance

i.e.
  1. Logged into my AWS Console.
  2. Opened the SSH session console window.
  3. edited config file
  4. sudo vi /etc/ssh/sshd_config
  5. Changed the variable PasswordAuthentication from no to yes.
  6. Forced write and quit - wq!
  7. Restarted the service
  8. sudo service sshd restart
I was then able to connect as an FTP system_user account and see into /var/www/vhosts/wordpress_site

Maybe the Plesk documentation needs updating here?!? As this feels fragmented to me.

OK so my problem is I still can’t drill down into these directories as the user 'ubuntu'.

I double-checked what I’ve done against this page:
Connecting to Your Linux Instance from Windows Using PuTTY - Amazon Elastic Compute Cloud

It recommends the user 'ubuntu'

And I'm using keys, that's not the issue.

AWS Key.PNG

I'd love to be able to look at the full filesystem under the one user account.

The following command reveals there is indeed a root user.

awk -F: '{ print $1}' /etc/passwd

When I first set up Plesk on AWS using the onetime link I created an "admin" account.
I've tried connecting as admin, administrator and root but they all get rejected.

So then I reset my root password using:

sudo -i
passwd


But when I try to connect as [email protected] with the new password,
I get the following error message:

Connect as Root account.PNG

I google that message and found:
Received too large (… B) SFTP packet. Max supported packet size is 102400 B :: WinSCP

But I'm stuck at this point. Has anyone got a workaround to this, please?
Any help is appreciated.

Thanks in advance.
 
Last edited:
Back
Top