2
无法以tty-less用户身份登录
我试图通过从没有tty的用户(我的apache服务器运行为该用户)的用户调用ssh(使用密钥认证)来运行单个命令,并一直得到以下结果: OpenSSH_5.9p1, OpenSSL 1.0.0g 18 Jan 2012 Pseudo-terminal will not be allocated because stdin is not a terminal. debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to localhost [::1] port 54367. debug1: Connection established. debug1: identity file nonpublic/id_rsa type 1 debug1: identity file nonpublic/id_rsa-cert type -1 debug1: Remote protocol version 2.0, …