当前位置:网站首页>[SSH] login without password
[SSH] login without password
2022-06-28 22:24:00 【zhy29563】
1. Environmental Science
- The server :Ubuntu 18.04
- client :Windows 10
2. Server side
because Ubuntu Default with SSH, Therefore, there is no need for too many configurations . For the mode, the server has no ~/.ssh Folder , perform ssh localhost command .
3. client
- install
SSH
It is recommended to usegit for windows - Configure password free login
- open
git bash - Generate key pair
ssh-keygen -t rsa - Copy to server
ssh-copy-id [email protected] - If the prompt file already exists , Then use the following operation
- Log on to the remote server
ssh [email protected] - open
authorized_keysfilevim ~/.ssh/authorized_keys - Toggle edit mode
i - Switch to the end of the file , Press
Endkey - Press enter to wrap
- Open generated
id_rsa.pubfile , And copy the contents - Paste the
vimEditorial office , And pressEscReturn to command mode - Input
:wq, Save and launch
- Log on to the remote server
- open
- validate logon
边栏推荐
- Description détaillée du schéma technique du sous - environnement syntonique auto - test de Zadig pour les développeurs
- IPv6 comprehensive experiment
- 2022-06-28:以下golang代码输出什么?A:true;B:false;C:panic;D:编译失败。 package main import “fmt“ func main() {
- How to advance data analysis from 1 to 10?
- Get to know Alibaba cloud (Cloud Computing) - development history, technical architecture, region and availability zone!
- Move the mouse out of the selected area style cancel
- 重磅!CDA认证考试备考答疑上线
- #yyds干货盘点# 解决剑指offer: 连续子数组的最大和(二)
- Detailed explanation of Zadig's self-test and joint debugging sub environment for developers
- Quartz定时任务触发器启动时设置
猜你喜欢
随机推荐
LxC shared USB device
代码复查
2022-06-28: what does the following golang code output? A:true; B:false; C:panic; D: Compilation failed. package main import “fmt“ func main() {
【Try to Hack】nmap
Linux安装mysql5.7(CentOS7.6) 教程
Research Report on workers: middle-aged people account for the highest proportion of naked words
常用工具类与commons 类库
00 後雲原生工程師:用 Zadig 為思創科技(廣州公交)研發開源節流
以产业互联网的发展为开端,行业才能进入到一个全新的发展阶段
Akamai acquires linode
彪马携手10KTF Shop启动其迄今为止规模首屈一指的Web3合作项目
Adding a markdown editor to lavel
How many stages did the development and evolution of data analysis go through?
Ansible production environment usage scenario (7): batch deployment of elk clients
Competition rules for the "network security" event of the secondary vocational group in the skills competition of Guangxi Vocational Colleges in 2022
[dynamic programming] p1018 linear DP: maximum product
【网关开发】ngx嵌套lua时处理CIDR表示的IP地址段
Icon fill color and background color change together
Qt5.15中qsrand,srand随机数生成函数已弃用问题
Pat 1054 the dominiant color (20 points)
![[dynamic programming] p1018 linear DP: maximum product](/img/3f/b2f394f328c214937add7afa0568c3.jpg)








