为啥 gcloud 中的 sshd_config 是空的?

2019-01-14 16:03:06 +08:00
 v2byy

我的 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 登陆啊?

1440 次点击
所在节点    问与答
3 条回复
v2byy
2019-01-14 16:23:01 +08:00
没人愿意解惑吗
phy25
2019-01-15 07:16:23 +08:00
用的什么系统?
v2byy
2019-01-15 07:44:46 +08:00
@phy25 #2 centos6.9 64 位

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/526936

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX