lsylsy2
V2EX  ›  问与答

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

  •  
  •   lsylsy2 · Aug 19, 2014 · 2799 views
    This topic created in 4303 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   ·   5763 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 96821589 · 49ms · UTC 01:42 · PVG 09:42 · LAX 18:42 · JFK 21:42
    ♥ Do have faith in what you're doing.