当前位置:网站首页>ssh连win10报错:Permission denied (publickey,keyboard-interactive).
ssh连win10报错:Permission denied (publickey,keyboard-interactive).
2022-06-26 05:01:00 【HackerTom】
自己 manjaro 笔记本用 ssh 连实验室 win10 电脑报错:
<USER>@<IP>: Permission denied (publickey,keyboard-interactive).
在 win10 电脑用 sshd -d
,输出(不知道这个输出有没有用):
debug1: sshd version OpenSSH_for_Windows_8.1, LibreSSL 3.0.2
debug1: Unable to load host key: __PROGRAMDATA__\\ssh/ssh_host_rsa_key
debug1: Unable to load host key: __PROGRAMDATA__\\ssh/ssh_host_ecdsa_key
debug1: Unable to load host key: __PROGRAMDATA__\\ssh/ssh_host_ed25519_key
sshd: no hostkeys available -- exiting.
参考 [1],需要修改 sshd_config 文件,由 [2] 知 win10 里这个文件在 C:\ProgramData\ssh\sshd_config。在 52 行左右,将
PasswordAuthentication no
中的 no
改成 yes
;再重启 ssh 服务器:
- 命令行敲
services.msc
启动服务管理器; - 找到
OpenSSH SSH Server
,右键,重启。
References
边栏推荐
- ThreadPoolExecutor实现文件上传批量插入数据
- 图像翻译/GAN:Unsupervised Image-to-Image Translation with Self-Attention Networks基于自我注意网络的无监督图像到图像的翻译
- LISP programming language
- Multipass Chinese document - share data with instances
- 2022 talent strategic transformation under the development trend of digital economy
- 【Unity3D】人机交互Input
- Use of better scroll
- Multipass Chinese document - use instance command alias
- 2022.1.24
- 5. < tag stack and general problems > supplement: lt.946 Verify the stack sequence (the same as the push in and pop-up sequence of offer 31. stack)
猜你喜欢
6.1 - 6.2 公钥密码学简介
#微信小程序# 在小程序里面退出退出小程序(navigator以及API--wx.exitMiniProgram)
pycharm 导包错误没有警告
Codeforces Round #800 (Div. 2)
2. < tag dynamic programming and conventional problems > lt.343 integer partition
Transport layer TCP protocol and UDP protocol
为什么许多shopify独立站卖家都在用聊天机器人?一分钟读懂行业秘密!
1.19 learning summary
LeetCode 19. Delete the penultimate node of the linked list
1.24 learning summary
随机推荐
Anti withdrawal test record
PHP get mobile number operator
Introduction to classification data cotegory and properties and methods of common APIs
Nabicat connection: local MySQL & cloud service MySQL and error reporting
Solution to back-off restarting failed container
Text horizontal alignment attribute text align and element vertical alignment attribute vertical align
BACK-OFF RESTARTING FAILED CONTAINER 的解决方法
Condition query
1.17 learning summary
Multipass中文文档-设置驱动
Interpretation of yolov5 training results
[ide (imagebed)]picgo+typora+aliyunoss deployment blog Gallery (2022.6)
Selection of programming language
超高精度定位系统中的UWB是什么
[latex] error type summary (hold the change)
date_ Range creation date range freq parameter value table and creation example
Multipass中文文档-远程使用Multipass
Numpy general function
A company crawling out of its grave
2.9 learning summary