mac 生成 本地.ssh

输入下面命令行

ssh-keygen 

默认回车得到下面的

Generating public/private rsa key pair.
Enter file in which to save the key (/Users/{
   用户名}/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /Users/{
   用户名}/.ssh/id_rsa
Your public key has been saved in /Users/{
   用户名}/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:。。。。。。。。。。。。。。。。。//此处省略

然后输入下面命令行

cat ~/.ssh/id_rsa.pub

得到生成的ssh-ras

在这里插入图片描述
然后复制到github或者其他仓库管理平台

相关推荐

  1. mac 配置 ssh

    2023-12-29 09:20:07       42 阅读
  2. mac ssh连接工具

    2023-12-29 09:20:07       29 阅读
  3. iOS 生成SSH Key

    2023-12-29 09:20:07       34 阅读
  4. linux/mac 本地环境(使用sshuttle)通过sshd访问k8s内网

    2023-12-29 09:20:07       66 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-29 09:20:07       91 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-29 09:20:07       97 阅读
  3. 在Django里面运行非项目文件

    2023-12-29 09:20:07       78 阅读
  4. Python语言-面向对象

    2023-12-29 09:20:07       88 阅读

热门阅读

  1. 重构第十一章:处理概括关系

    2023-12-29 09:20:07       58 阅读
  2. Web网站渗透攻击防御:守护网络安全的关键思路

    2023-12-29 09:20:07       54 阅读
  3. EasyExcel判断导入时是否符合给定模板

    2023-12-29 09:20:07       60 阅读
  4. 多态案例三-电脑组装

    2023-12-29 09:20:07       61 阅读
  5. facebook广告的基础知识

    2023-12-29 09:20:07       54 阅读
  6. facebook企业广告户开户需要哪些材料

    2023-12-29 09:20:07       55 阅读
  7. Vue 监听状态 watch 与监听状态 watchEffect

    2023-12-29 09:20:07       52 阅读
  8. Python学习笔记(三) 数据结构与常用方法

    2023-12-29 09:20:07       53 阅读