You can update /etc/ssh/sshd_config change
but that is a security exposure.
It's better to use a userid with sudo privileges or login as root with a public/private key pair.
You can also update /etc/sudoers (using sudo visudo
) to remove the need to authenticate to run a sudo command, but that is also a security exposure.