On Wed, 19 Apr 2023, Rich Shepard wrote:
Generated a key pair and, following the Slackware OpenSSH instructions
tried to use scp to put the laptop's public key on the desktop:
$ scp id_ed25519.pub
rshep...@salmo.appl-ecosys.com:/home/rshepard/.ssh/authorized_keys
The authenticity of host '[salmo.appl-ecosys.com]:<port_nbr>
([192.168.55.1]:<port_nbr)' can't be established.
ED25519 key fingerprint is
SHA256:/RInRdtcIMbpPu3LZmpg5wfAWi9ozQwgKLPnTQEDcxg.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[salmo.appl-ecosys.com]:14982' (ED25519) to the
list of known hosts.
rshep...@salmo.appl-ecosys.com: Permission denied (publickey).
lost connection
What have I done incorrectly here?
It looks to me like sshd on salmo is configured to accept only public
key authentication. It won't take your password.
If you don't have local access to an SSH key already in your
.ssh/authorized_keys file on salmo, well, you've locked yourself out.
If you do have access to an SSH recognized by salmo, you'll need to
load it locally before attempted the scp operation.
--
Paul Heinlein
heinl...@madboa.com
45°22'48" N, 122°35'36" W