当前位置:网站首页>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
边栏推荐
- Schematic diagram of UWB ultra high precision positioning system
- 广和通联合安提国际为基于英伟达 Jetson Xavier NX的AI边缘计算平台带来5G R16强大性能
- Hash problem
- Sort query
- 2022.2.16
- ROS notes (07) - Implementation of client and server
- 文件上传与安全狗
- One of token passing between microservices @feign's token passing
- ThreadPoolExecutor implements file uploading and batch inserting data
- Condition query
猜你喜欢

Transport layer TCP protocol and UDP protocol

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)

Schematic diagram of UWB ultra high precision positioning system

图像翻译/GAN:Unsupervised Image-to-Image Translation with Self-Attention Networks基于自我注意网络的无监督图像到图像的翻译

Genius makers: lone Rangers, technology giants and AI | ten years of the rise of in-depth learning

Illustration of ONEFLOW's learning rate adjustment strategy

PSIM software learning ---08 call of C program block

Stm8 MCU ADC sampling function is triggered by timer

为什么许多shopify独立站卖家都在用聊天机器人?一分钟读懂行业秘密!
![[H5 development] 02 take you to develop H5 list page ~ including query, reset and submission functions](/img/39/64df931d5ec54d7d19ae444fa372ba.jpg)
[H5 development] 02 take you to develop H5 list page ~ including query, reset and submission functions
随机推荐
Guanghetong and anti international bring 5g R16 powerful performance to the AI edge computing platform based on NVIDIA Jetson Xavier nx
MySql如何删除所有多余的重复数据
Interpretation of yolov5 training results
Use of better scroll
PHP get mobile number operator
Transport layer TCP protocol and UDP protocol
【quartz】从数据库中读取配置实现动态定时任务
Use to_ Numeric to numeric type
1.14 learning summary
6.1 - 6.2 introduction to public key cryptography
#微信小程序# 在小程序里面退出退出小程序(navigator以及API--wx.exitMiniProgram)
【Latex】错误类型总结(持更)
Method of saving pictures in wechat applet
A new paradigm for large model application: unified feature representation optimization (UFO)
Zuul 实现动态路由
记录一次循环引用的问题
Is education important or ability important in software testing
[H5 development] 02 take you to develop H5 list page ~ including query, reset and submission functions
Rdkit chemical formula molecular formula search
YOLOV5训练结果的解释