ssh总是把我扔出去

我甚至无法通过控制台访问客户端的服务器。 它看起来像让我进来,然后把我拉出来。 这里是我的会议与详细选项(我已经改变了我的IP与192.168.0.1):

debug1: Next authentication method: password [email protected]'s password: debug1: Authentication succeeded (password). Authenticated to 192.168.0.1 ([192.168.0.1]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 Last login: Fri Dec 2 03:26:47 2011 from gateway.web.net Usage: ipaliases {start|stop|restart|reload} debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0 debug1: channel 0: free: client-session, nchannels 1 Connection to 192.168.0.1 closed. Transferred: sent 2448, received 2232 bytes, in 0.3 seconds Bytes per second: sent 9160.2, received 8351.9 debug1: Exit status 1 

从恢复控制台我安装我的磁盘,并确保防火墙被禁用。 谁可以帮我这个事? 另外,我不明白上面的ipaliases消息是什么意思。 谢谢。

它看起来像/etc/profile或根的.bashrc.bash_profile有一个ipaliases命令,它没有正确调用(因此Usage: ...行)。 在没有看到这些文件的情况下,很难肯定地说,但那将是我首先要看的地方。

如果可以,请以另一个(非特权)用户身份login,尝试运行su -以获取root权限,并查看上述文件中的任何ipaliases命令。