linux ssh执行远端服务器sudo命令时报如下错误: sudo: sorry you must have a tty to run sudo 解决办法:编辑 /etc/sudoers文件,将Default requiretty注释掉。