Can't figure out how to sudo

Advertisement

lokiisagod
Guest

Can't figure out how to sudo

There is a folder i need to acces on my server but i need to sudo -i to get to it. How would i do this with WinSCP? i read the FAQ but still can't figure it out. I tried to do sudo -i /usr/share/man/man8/sftp-server.8.gz under protocol option but it fails and asks me if i have an sftp server running. Please help.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
32,896
Location:
Prague, Czechia

Re: Can't figure out how to sudo

/usr/share/man/man8/sftp-server.8.gz is definitely not a path to SFTP server executable.
Examples of common paths are in documentation:
https://winscp.net/eng/docs/faq_su#sudo
If your server uses a different path, you need to talk to your server administrator.

Reply with quote

Advertisement

You can post new topics in this forum