Open abhikt48 opened 2 years ago
Can you provide the sshd logs as well? Steps for running sshd in debug are here
I am experiencing the same issue
Here is. my ssh logs.
4276 2022-06-09 18:47:17.047 Server listening on :: port 22. 4276 2022-06-09 18:47:17.047 Server listening on 0.0.0.0 port 22. 4876 2022-06-09 18:47:25.843 Connection from 123.123.123.123 port 53113 on 10.0.0.3 port 22 4876 2022-06-09 18:47:29.468 Accepted key RSA SHA256:XXXXXXXXXXXX/XXXXXXXXXXXX found at C:/.ssh/authorized_keys:1 4876 2022-06-09 18:47:29.468 Accepted publickey for as_test from 789.789.789.789 port 53113 ssh2: RSA SHA256:XXXXXXXXXXXX/XXXXXXXXXXXX 4876 2022-06-09 18:47:29.515 User child is on pid 3664 4876 2022-06-09 18:47:29.531 Changed root directory to "C:/sftp" 4876 2022-06-09 18:47:30.390 Starting session: forced-command (config) 'internal-sftp' for as_test from 789.789.789.789 port 53113 id 0 4876 2022-06-09 18:47:30.734 Close session: user as_test from 789.789.789.789 port 53113 id 0 4876 2022-06-09 18:47:30.734 Received disconnect from 789.789.789.789 port 53113:11: disconnected by user 4876 2022-06-09 18:47:30.734 Disconnected from 789.789.789.789 port 53113
After connecting with RSA key, it just automatically disconnects.
I am facing the same issue, is there a resolution to this?
I am facing the same issue
I need to connect openssh server with public-private key authentication. Connection is working fine with username-password but it is not working with public-private key authentication.
Server is throwing
client_loop: send disconnect: Connection reset
error while connecting through public-private key authentication, but it is not throwing any error with username-password.I am new to this area. It will be much helpful if anyone can provide me any clue on this issue.
Please find below debug log details of
ssh -v localhost
commandAuthentication with public-private key
Authentication with username-password key
"OpenSSH for Windows" version
8.9.1.0
Server OperatingSystem
Windows 10 Pro
Client OperatingSystem
Windows 10 Pro
What is failing Fail to connect openssh server -
client_loop: send disconnect: Connection reset
Expected output Connection should be successful.
Actual output
client_loop: send disconnect: Connection reset