I am running the Tiny SFTP Server (v1.0.10) with the following config setting:
<add key="userPublicKeyDir" value="c:\Testing\public-keys" />
In that folder I have the following public key file:
C:\Testing\public-keys\openssh-key.pub
This was generated using ssh-keygen and contains the following:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOi5/T8jAV/5/I9TyU8rtpwLAWnqP8DhibX9m56z7wLhcdSeU+v2xlMNh2wir/tC1qfTgN26o72INfYFrD+ZV76LS5RCSsrB4iVWSRgRuEuunXt7M5nWYMsRYMBghRcy1nZVoDwoHyJ21kvhUuleBSwz04QPPRu7Y42ofx7YxIaYi8nZLPZTPyO3zLT/MTLrX/bDfjGe/SVXNRV4QPFZVIZYMsSPYWYPy+RGEpUr+W0KCRU79mhNExpWfk0LI6vORJIyHORnG1G5HTd8Os/MoY+LhbfACTP291iFRMhKmOumzfo/UUWwwMdzEZmTT5cFeeKS0smtfF30S9RRwflxu5 dm\user.name@machine
When I start the Tiny SFTP Server, I get the following error:
User public key 'c:\Testing\public-keys\openssh-key.pub' could not be loaded: Error while decoding key.
No user public keys found in 'c:\Testing\public-keys'.
Public key authentication disabled.
I've tried enabling verbose logging but there is no further information.
Does anybody know what the problem is?