综合技术

Generating an SSH key on Windows

微信扫一扫,分享到朋友圈

Generating an SSH key on Windows
0

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.

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.

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

阅读原文...

微信扫一扫,分享到朋友圈

Generating an SSH key on Windows
0
Voice of the DBA

Why Bad Data Could Cost Entrepreneurs Millions

上一篇

滴滴发布顺风车整改进度:五项措施保证安全

下一篇

评论已经被关闭。

插入图片

热门分类

往期推荐

Generating an SSH key on Windows

长按储存图像,分享给朋友