Answer the question
In order to leave comments, you need to log in
How to get root in WinSCP?
Hello. Is it possible to gain root access in the WinSCP manager?
The bottom line is, if I log in through the terminal, I get sudo user access
But my host made it so that if I need root, then in the terminal I need to go to root sudo -s
Accordingly, when I connect through WinSCP, I have su rights, like Can I get root in WinSCP?
For the first time, I haven’t come across this before, I don’t even know which way to dig.
Answer the question
In order to leave comments, you need to log in
First you need to find the sftp-server file
We remember the way!
At the very end of the file, on a new line, write:
The only thing left is to go to your WINSCP, select the desired connection - edit - additionally - SFTP in the field, add sudo /usr/lib/sftp-server
if your path sudo /usr/lib/sftp-server is different, then naturally use your own.
In different versions of distributors it happens in different ways.
good luck
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question