I have an AWS EC2 instance running Centos8 with flawless SSH connections using a regular ssh client (not putty).
I need to connect using putty from a Windows10 Pro desktop.
I hope this community can offer a fix that I haven't found yet.
When I attempt to connect using the public key from a putty-gen created pair, I get "server refused our key".
The authorized_keys
file contains the following entry (copied from puttygen):
ssh-dss AAAAB3NzaC1kc3MAAACBAPEsveu9UvIu8rqQvyMTAlpEmzZDHEHy9tzm33hqooVDYx8Y2HKL1pOWFCtORMHrQC0s2tMoWUmuN8zj7fJe2JUrU+pxPj8BoaeMEBlIQlw6YLkkl8oNysNs1gn3NBG8Pbii5SCWLOMHYNU/FrrGfIC4gK98FWOs+XB8b2TDC+GhAAAAFQDr8V35S0yUUHkKQhOdTBE01z/xnwAAAIEA413XRIqaOoD7fNhJL75gFWjCEfmoDjrUxCMTCWruQB0/ggh3kaUXCZW09M3uv12ibHg76Hjv2ams2tmMp3uHCkEd0Aiuxh5M1vbu/w2YwzSd2QVbMXlXBQdLiqatDuKENFoKk9x/RsZT5gnyDN65/BC/t7vTMk/Q9DxtBklFh6IAAACBAJINInKSQvRCwnlsASdia2QrRCXK7+aTycg8rWDpHI5O+CpKaphdpxrv8yfAElfziLkt4HYo8QO6dCgonktt0s5bIkdpP35yN6P32wIOtqpYLqsIMsnmLxolVqAbmPO0V/Z79gYkNVzWWRb0PnImYQepcUZFO03k8Sq4ny9y/Tsk Tom_S_admin
This appears to be an issue with my local credentials, but I've tried all the usual fixes without success.
I tried an approach suggested in another stackoverflow question -- adding the following to /etc/ssh/sshd_config
on the server:
PubkeyAcceptedAlgorithms +ssh-rsa
Sadly, this simply broke sshd
and so I reverted the change.
Here is what I see on my desktop: