close

在 ~/.ssh/config 中加入以下設定,就可以用 ~/.ssh/gitea 去連 gitea.aaa.bbb

 

Host gitea.aaa.bbb

       Hostname gitea.aaa.bbb

       User root

       IdentityFile ~/.ssh/gitea

arrow
arrow
    文章標籤
    ssh linux
    全站熱搜

    johnchen6927 發表在 痞客邦 留言(0) 人氣()