Trying the Install Chef on Ubuntu

I am trying to install this -> how-to-install-chef-server-workstation-and-chef-client-on-ubuntu-18-04

When you are doing the Chef Workstation install it says to generate the ssh keys and I do that it puts a file_rsa and a in the .ssh directory. It says to do this -> “Upload the workstation node’s public key to the Chef server node.”
root@cfcws:~# ssh-copy-id root@chef.cfs.loc
/usr/bin/ssh-copy-id: ERROR: No identities found

Well there are no .pem files at all anywhere, Where are these files or how are they generated?


Hi Michael,

Welcome to our forums.

The problem here seems to be that the key generation does not create the key files with their default name (to prevent overwrite I would guess), while ssh-copy-id tires to copy by their default name. You can specify the identity file with the -i option, like this:

# ssh-copy-id -i .ssh/ root@chef.cfs.loc

Note that you need to copy your public key (.pub), not the private (with no file extension) key.

Well shinola, That makes perfect sense.