On starting the server,
User public key
'C:\Downloads\RebexTinySftpServer-1.0.11\keys\key.pub'
loaded. Fingerprint: 15:XX:d2
Public key authentication enabled.
Binding SFTP server to port 22... Starting...
23:30:14.496 Info Server: Starting server.
23:30:14.500 Info Server: Listening for connections at 0.0.0.0:22.
23:30:14.502 Info Server: Server started.
SFTP server has started and is ready to accept connections.
Everything is fine, but when I try to ssh into ssh/sftp via command or SFTP connect via code, it doesn't work anymore. Previously it was working alright, and I could do so.
On cmd ssh into my server,
C:\Windows\system32>ssh 192.168.2.14
Enter passphrase for key 'C:/.ssh/id_rsa':
Password:
Password:
Password:
z@192.168.2.14's password: Permission denied, please try again.
z@192.168.2.14's password: Permission denied, please try again.
z@192.168.2.14's password:
z@192.168.2.14: Permission denied
(password,keyboard-interactive,publickey).
No matter what password I try, it fails.
I'm not sure why it asked for
Password:
And then
z@192.168.2.14's password
again...
The above happens too when I use SFTP command...
I've tried reinstalling the multiple times, but it still fails. It's so frustrating. In the config file, I've already set the passwords all to the same 'password'. I've entered 'password' and also nothing, but it still couldn't work. Where did I go wrong?