auth.log指出JSchException出错?

我有一个相当小的安装服务器,它不允许密码authentication,只使用密钥。 而且它绝对没有安装Java。 通常我不会注意脚本小子猜测我的密码的每天数以千计的尝试 – 我想他们浪费在我的系统上的时间是他们不浪费在允许密码authentication的系统上。 但是我在/var/log/auth.log中看到这个消息:

Dec 7 13:43:43 hostname sshd[7412]: Received disconnect from 189.203.240.57: 3: com.jcraft.jsch.JSchException: Auth fail [preauth]

提到的是来自攻击者的Javaexception,还是来自我身边的东西?

它看起来像openssh服务器在“接收断开连接”的错误消息通过客户端的最后一条消息,所以这似乎是僵尸networking僵尸login尝试从Java创作。

从openssh的packet.c看这个代码示例:

  case SSH2_MSG_DISCONNECT: if ((r = sshpkt_get_u32(ssh, &reason)) != 0 || (r = sshpkt_get_string(ssh, &msg, NULL)) != 0) return r; /* Ignore normal client exit notifications */ do_log2(ssh->state->server_side && reason == SSH2_DISCONNECT_BY_APPLICATION ? SYSLOG_LEVEL_INFO : SYSLOG_LEVEL_ERROR, "Received disconnect from %s: %u: %.400s", ssh_remote_ipaddr(ssh), reason, msg); free(msg); return SSH_ERR_DISCONNECTED;