Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Configuring sshd_config

@Levor: Better is to use 5.20 beta.
Valdemar

Re: Server refused our key.

This is an SFTP server in Windows.
martin

Re: Server refused our key.

I cannot tell you what "config" to update, as you haven't even told us yet, what kind of server you are connecting to. If it is a common Linux with OpenSSH server, you need to add your public key to authorized_keys file on the server (not any local one).
https://winscp.net/eng/docs/guide_public_key#configure_openssh
Valdemar

Re: Server refused our key.

Yeah so I did follow the link but I've already done all that. If you mean config file when you say configuration, it's in attachments. If you do not mean config file please explain what you mean, and sorry for not understanding.
martin

Re: Server refused our key.

Sorry, but I do not see an answer to my question, what did you do to configure the server to accept the key? From your description, it seems that you have made only some changes on your local machine. How can that get you authorized to access a remote server?
Did you follow the link in my previous post?
Valdemar

Re: Server refused our key.

I checked logs as well and there are no errors or anything. I don't know how to share the logs since evtx files are not allowed here but it accepts the key in the logs and no errors.
Valdemar

Oh, and btw inside the authorized keys file I got this: ssh-rsa xxxxx
Valdemar

Hello, I used PuTTYgen to generate the keys. I have put the directories of the keys in attachments and also the configuration.
Valdemar

Server refused our key.


  • Latest WinSCP version
  • Problem has been there since I installed the program. (Not after update)
  • Latest Microsoft windows version
  • SFTP
  • This happens when I try to login to the server, I have a private key and public key set up in a folder on my desktop. The public key is in the authorized keys file in the following path C:\Users\Valdemar\.ssh. And the private key is in a folder on my desktop at the following path C:\Users\Valdemar\Desktop\Keys.
  • I can post logs but not sure which parts are dangerous to share in the logs.