Permission to connect over ssh (with rsync and sftp) denied
Please run sftp with -v option and send us the debug output of it (paste it to the comment of this ticket or attache the log file)
sftp -v erazemk@storage.osdn.net:/storage/groups/a/an/anarchy
Thanks for the reply and sorry, didn't know what severity to add.
If you set PubkeyAcceptedKeyTypes explicitly in .ssh/config (or /etc/ssh/ssh_config) and not include ssh-rsa in it, please add ssh-rsa. Currenlty it is needed to connect older (7.x or older) ssh server.
Please add end of the ~/.ssh/config
PubkeyAcceptedKeyTypes=+ssh-rsa
Or If you do not want to add it, please use non RSA key such that ed25519 or ecdsa.
Thank you very much, that worked.
When trying to connect to my project's directory (/storage/groups/a/an/anarchy) both sftp and rsync are unable to connect due to pubkey issues. I have added two SSH keys to OSDN (one using GPG's SSH option and the other a normal SSH key generated with ssh-keygen). Since using either of them didn't work I added the following entry to my ~/.ssh/config:
Host storage.osdn.net
Just for reference, these are the commands I tried to run:
sftp erazemk@storage.osdn.net:/storage/groups/a/an/anarchy and rsync .anarchy-1.3.0-x86_64.iso.sha512sum erazemk@storage.osdn.net:/storage/groups/a/an/anarchy/.
My local public key (~/.ssh/osdn.pub) matches the 2nd key on my account at https://osdn.net/users/erazemk/openssh.pubkeys and the first one matches my GPG SSH key, so I have no idea why this doesn't work.
Thank you for your help.