lsylsy2
V2EX  ›  问与答

求助,ansible 创建的用户无法 SSH 登录

  •  
  •   lsylsy2 · Aug 19, 2014 · 2871 views
    This topic created in 4352 days ago, the information mentioned may be changed or developed.
    user: name="{{ user }}" shell=/bin/bash createhome=yes
    用这条语句创建的,key应该是正确复制进去了

    passwd和key文件见图片,现在登录SSH提示认证失败……求解
    2 replies    2014-08-19 15:45:37 +08:00
    pfitseng
        1
    pfitseng  
       Aug 19, 2014
    .ssh 700 了吗
    ericFork
        2
    ericFork  
       Aug 19, 2014
    去看 auth.log
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2850 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 09:11 · PVG 17:11 · LAX 02:11 · JFK 05:11
    ♥ Do have faith in what you're doing.