当前位置:网站首页>(transfer) how winscp (SSH FTP client) generates the key to log in Linu
(transfer) how winscp (SSH FTP client) generates the key to log in Linu
2022-04-23 00:15:00 【zyb418】
https://jingyan.baidu.com/article/2fb0ba405d586000f2ec5fc5.html
WinSCP(SSH Of FTP client ) How to generate key login linux? A friend found out about logging in linux You need to enter a password to verify before you can go to , Then there was. KEY, You can use KEY Direct landing , So many SSH All tools have Generate KEY land Of , Here it is , Let me introduce the two most commonly used SSH land LINUX Tools for everyone , And share with you, such as How to generate a key to log in LINUX;
First of all ,WINSCP This tool is undoubtedly a widely used tool , Download and installation are not introduced here , as everyone knows ; So let's just say , Install well WINSCP did not SSH land LINUX Tools for , We have to download one Putty Landing tools , And there's one Puttygen This tool , This is a Tool for generating key , Such as graphic :

And then we open up WINSCP Tools , Such as graphic :

next step :

This id_rsa.rsa How to generate it ?LOOK

After typing the command , Directly enter - enter - Just enter the car , then , stay ~.ssh/ Will generate id_rsa,id_rsa.pub These two documents ;COPY Come out these two files , stay WIN Now generate PPK file , Can be used to authenticate login ;
Then up How to generate KEY land linux; Such as graphic :


After saving the above , We can then use the generated PPK File to verify login LINUX 了 ;LOOK


So you can log in ;
second , Share SecureCRT Tools , This is also a good one that friends like more SSH land LINUX Tools ; So how to generate KEY land LINUX What about ?





When the selection is complete , Generated Identity and Identity.pub, among Identity For private key ,Identity.pub For public key ; And then upload Identity.pub To LINUX User's root directory .ssh Next , Command :
mv Identity.pub authorized_keys,chmod 644 authorized_keys;
Generate :authorized_keys, Then let's log in and verify ;


The file selected here to use identity or certificate is Global public key ;
summary : The best thing I want to say is to set SSH Log in with a key without a password , To set the relevant SSH Configuration file for :sshd_config, Revised as follows :
PermitRootLogin no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
RSAAuthentication yes
PasswordAuthentication no
And restart :service sshd restart Then you can log in normally , Is it easy , Now we all know that such as How to generate a key to log in linux?
版权声明
本文为[zyb418]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230009058834.html
边栏推荐
- Human and God (l1-073)
- (转)Word2016怎么和mathtype兼容
- Data De duplication - complex data types
- Configuration parameters of common product module models of Beifu
- MySQL运行workbench报错TRunTimeError
- L1-072 scratch lottery (20 points)
- 对指定目录下的图片,取图片名(不包含图片的扩展名)、将文件路径和图片名分开、将文件名和图片扩展名分开
- componentWillUnmount卸载组件
- 倍福两台CX控制器之间添加路由
- Algorithm -- adding two numbers II (kotlin)
猜你喜欢

【ACM】47. 全排列 II(考虑某一树枝下,已经记录的元素在下一层递归时是否会被重复记录(使用数组used来记录))

(转)Aspose.words编程指南之DocumentBuilder二

Compared with the traditional anchor based method, fcos is unique

EL2124模块接线和引脚含义

Nodejs+express登录鉴权并注册部分

API interface knowledge summary

威伦触摸屏和倍福PLC通信报错AdsParseSymbol invalid array index

Communication error between Willem touch screen and Beifu PLC adsparsesymbol invalid array index

Beifu NC axis travel speed mode

MySQL安装及基本使用教程
随机推荐
倍福NC轴走速度模式
Li Kou exercise set 3 -- the longest substring without repeated characters
(转)C#最佳工具集合:IDE、分析、自动化工具等
Error runtimeerror when MySQL runs workbench
三菱FX5U配置MR-JE-C伺服驱动器 IEBasic设定
L1-070 eating hot pot (15 points)
WMS warehouse management system solution
【leetcode】27. Removing Elements
OJ daily practice -- iterative method for finding square root
Vibrato tiktok
C console application flash when running solution
(transfer) Aspose Words introduction
【ACM】78. 子集(返回所有节点的元素,不用设置终止条件)
OJ's daily practice -- falling and bouncing ball
C#控制台应用程序运行时一闪而过解决方法
Installation and use of scvi tutorial
Calculation of Beifu scaling factor
常见的社群玩法盘点,你做的是哪一种?
(transfer) Aspose Documentbuilder I of words Programming Guide
A convnet for the 2020s summary