ssh連接gitlab,免密碼登錄

第一步:檢查是否存在SSH祕鑰 1.Enter ls -al ~/.ssh to see if existing SSH keys are present1.0 2.如果顯示ls: 無法訪問/root/work/.ssh: 沒有那個文件或目錄 表示目錄不存在,ssh不存在 第二步:生成 SSH key. 1.輸入指令: $ ssh-keygen -t rsa -C "[email protecte
相關文章
相關標籤/搜索