ssh

作者: Sicuso | 来源:发表于2016-04-16 18:44 被阅读35次

    使用ssh往往可以简化github以及服务器的操作。
    但是一旦账号很多,则难以处理。
    因此可以设置config文件对此加以管理。

    创建

    ~/.ssh/config
    

    后,可以在上述文件中加以设置,格式如下

    Host github.com
         User "git"
         HostName "github.com"
         IdentityFile "XXX/id_rsa"
    

    详细的操作请参阅

    Simplify Your Life With an SSH Config File@Nerderati

    相关文章

      网友评论

          本文标题:ssh

          本文链接:https://www.haomeiwen.com/subject/ikcolttx.html