5.1.4 Tramp extensions

This module adds built-in commands that use Tramp to handle running other commands as different users, replacing the corresponding external commands. To enable it, add eshell-tramp to eshell-modules-list.

su
sudo
doas

Uses TRAMP’s su, sudo, or doas method (see Inline methods in The Tramp Manual) to run a command via su, sudo, or doas.