SFTP changing user to root

Moderator: Project members

Post Reply
Message
Author
Sessa
500 Command not understood
Posts: 2
Joined: 2017-08-09 08:26

SFTP changing user to root

#1 Post by Sessa » 2017-08-09 08:39

Hello,

first of all let me say hello from germany!

Next, let me tell you my problem ... :)
I have a dedicated Server with Linux CentOS as OS. I use FileZilla as my FTP Client.
I need a key to authentificate my client with the server. So i paste the pub key on the Server an integrate the private key in FileZilla - so far so good.
I has configure the Server so that the root login is not accepted so i login with user XYZ and use sudo su to make myself as a root - also good.

Now my issue: I want to connect via FileZilla to this Server and make a Backup from a specific folder. I use the IP als Server, my name (user name XYZ) and paste the port 22. The dialog open himself and i fill out my password - fine. Now i am via sftp on the Server. BUT: I am only as the normal user connected and not as the root. So i dont have the required rights. Is there a opportunity to make my self to root via a FileZilla command / parameter to become root?

Thank you very much!
Best regards

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: SFTP changing user to root

#2 Post by boco » 2017-08-09 09:07

No, SFTP does not have any shell access. You'd need a client with full SSH2 support (like WinSCP on Windows).
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Sessa
500 Command not understood
Posts: 2
Joined: 2017-08-09 08:26

Re: SFTP changing user to root

#3 Post by Sessa » 2017-08-09 09:10

Damn ... I've integrated FileZilla into a great tool to manage hosts ...
Okay good. Now I have some todo for my holiday :)

Many Thanks!

Post Reply