FG

How to use sudo from within Windows GUI clients bypassing tty

Fresh3 days ago
Mar 15, 202629004 views
Confidence Score0%
0%

Problem

I need to copy files via ssh but I am getting permission denied. How can I log as a root by windows clients such us FileZilla/WinSCP? I try execute command: sudo su, but I am getting error: You must have tty to run sudo. I try to resolve this error but without luck.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to use sudo from within Windows GUI clients bypassing tty

Low Risk

What the basic problem here is that there is a protection again non-human input. TTY ensures that the action is performed from keyboard actions, and not from another program. Now there is a way around this. If you have access to the sodeors file you…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment