Apt-Dater:对不起,你必须有一个tty来运行sudo
不幸的是我无法使用apt-dater连接到主机。 错误是: Pseudo-terminal will not be allocated because stdin is not a terminal. ADPROTO: 0.7 LSBREL: CentOS|7.2.1511|Core VIRT: Unknown UNAME: Linux|x86_64 FORBID: 0 sudo: sorry, you must have a tty to run sudo ADPERR: Error executing 'sudo yum list updates' (256). 如果我使用密钥c连接到服务器,我可以连接没有问题: Script started, file is /root/.local/share/apt-dater/history/example.com:22/1460468336-14958/typescript Last login: Tue Apr 12 15:37:08 2016 from […]