我的 google cloud 的 /etc/ssh/sshd_config 文件是空的。
这种情况下如何改一些 ssh 的配置呢?
另外:我在 /var/log/meesages 里面看到这些信息:
Jan 14 07:57:48 instance-ss sshd[8664]: error: Could not get shadow information for NOUSER
Jan 14 07:57:48 instance-ss sshd[8664]: Failed password for invalid user das from 118.24.5.163 port 48758 ssh2
Jan 14 07:57:48 instance-ss sshd[8665]: Received disconnect from 118.24.5.163: 11: Bye Bye
Jan 14 07:59:45 instance-ss sshd[8684]: Invalid user noc from 165.227.63.250
Jan 14 07:59:45 instance-ss sshd[8685]: input_userauth_request: invalid user noc
Jan 14 07:59:45 instance-ss sshd[8684]: error: Could not get shadow information for NOUSER
Jan 14 07:59:45 instance-ss sshd[8684]: Failed password for invalid user noc from 165.227.63.250 port 45234 ssh2
Jan 14 07:59:46 instance-ss sshd[8685]: Received disconnect from 165.227.63.250: 11: Bye Bye
Jan 14 08:00:30 instance-ss sshd[8692]: Invalid user bob from 104.248.188.192
Jan 14 08:00:30 instance-ss sshd[8693]: input_userauth_request: invalid user bob
Jan 14 08:00:30 instance-ss sshd[8692]: error: Could not get shadow information for NOUSER
Jan 14 08:00:30 instance-ss sshd[8692]: Failed password for invalid user bob from 104.248.188.192 port 39710 ssh2
Jan 14 08:00:30 instance-ss sshd[8693]: Received disconnect from 104.248.188.192: 11: Bye Bye
Jan 14 08:01:17 instance-ss sshd[8713]: Invalid user egarcia from 118.24.100.25
Jan 14 08:01:17 instance-ss sshd[8714]: input_userauth_request: invalid user egarcia
Jan 14 08:01:17 instance-ss sshd[8713]: error: Could not get shadow information for NOUSER
Jan 14 08:01:17 instance-ss sshd[8713]: Failed password for invalid user egarcia from 118.24.100.25 port 33390 ssh2
是不是别人想 ssh 登陆啊?
1
v2byy OP 没人愿意解惑吗
|
2
phy25 2019-01-15 07:16:23 +08:00 via Android
用的什么系统?
|