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:
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:
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.
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.
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:
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.
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:
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:
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.
- Logged into my AWS Console.
- Opened the SSH session console window.
- edited config file
- sudo vi /etc/ssh/sshd_config
- Changed the variable PasswordAuthentication from no to yes.
- Forced write and quit - wq!
- Restarted the service
- sudo service sshd restart
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.
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:
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: