【问题标题】:Gitosis not accepting numbers in hostnameGitosis 不接受主机名中的数字
【发布时间】:2011-04-08 23:32:59
【问题描述】:

我的电脑主机名设置为'37MeanMachine',我的key是这样的:

ssh-rsa AA.....== thirtySeven@37MeanMachine

问题是,当我尝试用这个键初始化 gitosis 时,我得到了错误:

gitosis.init.InsecureSSHKeyUsername: Username contains not allowed characters: 'thirtySeven@37MeanMachine'

当我把钥匙改成

ssh-rsa AA.....== thirtySeven@MeanMachine

即我从 ssh 密钥中的主机名中删除了“37”,它运行得非常好并且密钥已初始化。 AFAIK,主机名有数字是完全有效的,为什么我的情况有问题?而这个问题的解决方法是什么?

【问题讨论】:

    标签: linux git ssh


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多