47

Generating an SSH key on Windows

 6 years ago
source link: https://www.tuicool.com/articles/hit/QJNBBjB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

I needed an SSH key. First I needed to the WSL subsystem, and once I had that working, I could do the work I needed to do: get an SSH key.

There is a utility to help with this on Linux, called ssh-keygen. You run this at the command line and get two files output. These are the public and private keys. I knew how to do most of this, but what I wanted to do was get a custom filename. There are two ways to do this.

First, you can just enter ssh-keygen at the command line. The system will then prompt you for the filename, with id_rsa as the default.

uEnmM3u.jpg!web

The other way is with the –f parameter. In this case, I use this because I want to specify this as an RSA key as well as set the bit size.

iABFviF.jpg!web

In both cases, I now have new ssh keys I can use to connect to servers, once I add them to the server itself.

AbmqQnF.jpg!web


Recommend

  • 16
    • lunashu.org 4 years ago
    • Cache

    git clone 指定 ssh-key

    git clone 指定 ssh-key 其实我们往往会遇到这样一个问题 打个比方: 公司邮箱是:[email protected] 个人邮箱:[email protected] & [email protected] 我们分别有:公司git仓库 / github仓库...

  • 32
    • www.cnblogs.com 4 years ago
    • Cache

    指定ssh key访问git

    最近在用git,感觉每次输入密码很不方便,想借助ssh key来实现(一种类似ssh命令中-i参数的机制)。现在问题解决了,这里总结下(从建库开始),也方便我以后查阅。 建立一个私有仓库 这里以test1目录示例:1、创建test1文件夹 ...

  • 13
    • www.vidarholen.net 4 years ago
    • Cache

    What’s in a SSH RSA key pair?

    What’s in a SSH RSA key pair? You probably have your own closely guarded ssh key pair. Chances are good that it’s based on RSA, the default choice in ssh-keygen. RSA...

  • 19
    • www.devdungeon.com 4 years ago
    • Cache

    How to Specify SSH key for Git repository

    Introduction If you are using SSH keys with Git to clone and pull your repositories, you may have to manage several SSH keys. For example, it is common to setup a "deploy key" in GitHub (Repository | Settings | Deploy Keys

  • 18

    還原被碼掉的 PEM 資訊 (SSH RSA key) 在「Recovering a full PEM Private Key when half of it is redacted」這邊看到的,起因是

  • 12

    设置Linux系统SSH-KEY访问方式设置 作者: wencst 分类: linux,Uncategorized 发布时...

  • 11

    GitHub 支援 SSH 使用 Security Key 了 GitHub 宣佈支援使用 security key 的 SSH key 操作了:「Security keys are...

  • 8

    How to Use SSH-Keygen to Generate an SSH Key on Mac By Matt Moore Published 1 day ago Follow this simple guide to create an SSH key...

  • 9

    After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.About SSH key generation If you don't already have an SSH key, you must g...

  • 5
    • www.shellhacks.com 2 years ago
    • Cache

    Generate SSH Key in Windows

    Generate SSH Key in Windows Starting from Windows 10 build 1809, Windows has a native SSH client that is based on the OpenSSH port. The OpenSSH client in Windows includes an ssh-keygen – the comma...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK