V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
v2byy
V2EX  ›  问与答

为啥 gcloud 中的 sshd_config 是空的?

  •  
  •   v2byy · 2019-01-14 16:03:06 +08:00 · 1499 次点击
    这是一个创建于 2169 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    3 条回复    2019-01-15 07:44:46 +08:00
    v2byy
        1
    v2byy  
    OP
       2019-01-14 16:23:01 +08:00 via iPhone
    没人愿意解惑吗
    phy25
        2
    phy25  
       2019-01-15 07:16:23 +08:00 via Android
    用的什么系统?
    v2byy
        3
    v2byy  
    OP
       2019-01-15 07:44:46 +08:00 via iPhone
    @phy25 #2 centos6.9 64 位
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5354 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 08:02 · PVG 16:02 · LAX 00:02 · JFK 03:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.