On 09/23/2017 03:45 PM, Rich Shepard wrote: > I did a complete re-installation of Slackware-14.2 on my Dell Latitude > 2100 because it would not display the lilo screen after the POST. Turned out > the reason was inconsistency between the order in which boot devices were > listed when the F12 key was pressed when turning on the unit and the order > in which they were listed in the BIOS. Whoda' thunk that? Not me! > > Anywho, I'm configuring the little portable and have run into an error > trying to configure ssh on it. > > I ran 'ssh-keygen -t ed25519' (it would not accept the -N option with the > pass phrase: "too many options") and entered my pass phrase twice. Then I > tried to use ssh-copy-id to copy the public key on the laptop to the server > after creating an empty authorized_keys file. The attempt failed: > > $ ssh-copy-id rshepard@salmo > /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: > "/home/rshepard/.ssh/id_ed25519.pub" > /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to > filter out any that are already installed > /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are > prompted now it is to install the new keys > Permission denied (publickey). > > What have I missed? > > Rich
Rich, Check the permissions or /home/rshepard/authorized_keys on the server. Secondly, did you already set /etc/ssh/sshd_config: PasswordAuthentication no IIRC, that should be "yes" until after you copy the key. ssh-copy-id needs to login via user/password in order to copy the key since the server does not yet have the key. -Ed _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug