linux:正确的ssh登录后即时注销

时间:2013-03-04 09:40:35

标签: linux

我的Ubuntu 12.04服务器出现了一个奇怪的问题。

通过ssh正确登录后,连接立即关闭。

以下是我使用ssh -vvv登录后在控制台上获得的输出:

Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64)

* Documentation:  https://help.ubuntu.com/
System information as of Mon Mar  4 10:29:54 CET 2013

System load:  0.18              Processes:           120
Usage of /:   2.9% of 77.23GB   Users logged in:     0
Memory usage: 54%               IP address for eth0: x.x.x.x
Swap usage:   9%

Graph this data and manage this system at https://landscape.canonical.com/

174 packages can be updated.
61 updates are security updates.

Last login: Mon Mar  4 10:29:28 2013 from y.y.y.y
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)

debug3: channel 0: close_fds r -1 w -1 e 6 c -1
Connection to x.x.x.x closed.
debug1: Transferred: stdin 0, stdout 0, stderr 39 bytes in 0.7 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 58.4
debug1: Exit status 1`

root目前不允许通过ssh直接连接,所以我只有一个用户登录。 此外,没有X-Server,只有控制台。

有什么想法吗?

提前致谢!

0 个答案:

没有答案