How to generate an SSH key pair in Windows using PuTTY?

You can generate an SSH key on Windows using the PuTTY SSH client. You can download PuTTY for free from this URL.

To generate a key with PuTTY, you should:

  • Download and start the puttygen.exe generator.
  • In the "Parameters" section choose SSH2 DSA and press Generate.
  • Move your mouse randomly in the small screen in order to generate the key pairs.
  • Enter a key comment, which will identify the key (useful when you use several SSH keys).
  • Type in the passphrase and confirm it. The passphrase is used to protect your key. You will be asked for it when you connect via SSH.
  • Click "Save private key" to save your private key.
  • Click "Save public key" to save your public key.

原文地址:https://www.cnblogs.com/karmapeng/p/12178801.html

时间: 2024-11-10 03:52:27

How to generate an SSH key pair in Windows using PuTTY?的相关文章

Git安装及SSH Key管理之Windows篇

一.安装环境 1.本机系统:Windows 10 Pro(64位)2.Git版本:Git-2.11.0-64-bit.exe(64位) 二.Git安装 去官网下载完后一路下一步完成安装,如下图: 安装完后先在系统环境变量中看下是否配置 然后在桌面右击鼠标,选择Git bash here,然后输入下面代码: git --version #验证git是否安装成功,输出版本号就代表安装成功 如下图: 安装完成有配置一下全局的用户名和邮箱,输入如下命令: git config --global user

SSH key introduction

Preface At the first time, we take the connection with GitLab remote server. You need to type username and password as your individual credentials to login the server, since the connection between the client(your computer) and remote server(Git sever

Git 中 SSH key 生成步骤

由于本地Git仓库和GitHub仓库之间的传输是通过SSH加密的,所以必须要让github仓库认证你SSH key,在此之前,必须要生成SSH key. 第1步:创建SSH Key.在windows下查看[c盘->用户->自己的用户名->.ssh]下是否有id_rsa.id_rsa.pub文件,如果没有需要手动生成.打开git bash,在控制台中输入以下命令. $ ssh-keygen -t rsa -C "[email protected]" 密钥类型可以用 -t

How to generate ssh key only for github and not conflict with original key

3 生成SSH公钥 $ ssh-keygen -t rsa -C "[email protected]" #ssh-keygen -t dsa -C "[email protected]" # Creates a new ssh key using the provided email Generating public/private rsa key pair. Enter file in which to save the key (/home/you/.ssh

Generate SSH key

Generate SSH KEY by using following commands: ssh -keygen -t rsa Think this command not only works in Windows, but also works in Mac & Linux. It will generate a private & public key pair in your user directory foler: ~/.ssh/ the 2 keys are store i

github ssh key Key is invalid. Ensure you've copied the file correctly解决办法

此错误出现原因是:在github上添加新key时,不正确到拷贝了~/.ssh/id_rsa.pub内容所致.一般发生在linux下,因为windows下用notepa++打开这个文件并复制一般是没有问题的,而linux下使用vim打开再复制就会因为vim添加了回车而导致key添加失败.解决办法是:使用cat命令将.ssh/id_rsa.pub内容输出到终端,再拷贝. Check for SSH keys ls -al ~/.ssh # Lists the files in your .ssh d

Win7下生成SSH Key连接Github--(MsysGit)

ls -al ~/.ssh # Lists the files in your .ssh directory, if they exist We strongly recommend using an SSH connection when interacting with GitHub. SSH keys are a way to identify trusted computers, without involving passwords. The steps below will walk

梅林路由器 开启ssh key远程登录

转载自 开启SSH KEY在手机远程登陆路由 http://koolshare.cn/thread-67565-1-1.html (出处: KoolShare) 笔记地址 http://ccdd6ec5.wiz03.com/share/s/3cTmX51TMQ-b2QTact03UPg83Rw4wm1WOAZ92OnR6j06wZqr 首先修改路由的登录名和密码 下载puttygen https://the.earth.li/~sgtatham/putty/latest/x86/puttygen

github入门:设置添加ssh key<转>

转自:http://blog.csdn.net/binyao02123202/article/details/20130891 很多朋友在用github管理项目的时候,都是直接使用https url克隆到本地,当然也有有些人使用 SSH url 克隆到本地.然而,为什么绝大多数人会使用https url克隆呢? 这是因为,使用https url克隆对初学者来说会比较方便,复制https url 然后到 git Bash 里面直接用clone命令克隆到本地就好了.而使用 SSH url 克隆却需要