mac添加和找尋ssh密鑰
以下命令加上三次回車便添加了ssh公鑰
ssh-keygen -t rsa -C "[email protected]"
由於mac無法直接通過點擊進去存放地,便可通過如下命令索引進入
cat ~/.ssh/id_rsa.pub
通過執行以下命令兩次如果有 hixxxx 便添加成功
ssh -T [email protected]
以下命令加上三次回車便添加了ssh公鑰
ssh-keygen -t rsa -C "[email protected]"
由於mac無法直接通過點擊進去存放地,便可通過如下命令索引進入
cat ~/.ssh/id_rsa.pub
通過執行以下命令兩次如果有 hixxxx 便添加成功
ssh -T [email protected]