当前位置:网站首页>SSH connected to win10 and reported an error: permission denied (publickey, keyboard interactive)

SSH connected to win10 and reported an error: permission denied (publickey, keyboard interactive)

2022-06-26 05:02:00 HackerTom

own manjaro It's for the notebook ssh Company laboratory win10 Computer error reporting :

<USER>@<IP>: Permission denied (publickey,keyboard-interactive).

stay win10 For computers sshd -d, Output ( I wonder if this output is useful ):

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.

Reference resources [1], Need modification sshd_config file , from [2] know win10 This file is in C:\ProgramData\ssh\sshd_config. stay 52 Row or so , take

PasswordAuthentication no

Medium no Change to yes; Restart again ssh The server :

  1. Command line knock services.msc Start the service manager ;
  2. find OpenSSH SSH Server, Right click , restart .

References

  1. Permission denied (publickey,keyboard-interactive) [closed]
  2. Windows 10 OpenSSH authorized keys error with sshd
原网站

版权声明
本文为[HackerTom]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260501409357.html