Ssh without pwd between two ipfire

Hello,
I would like to ssh an ipfire host from another one, but…
-bash: ssh-copy-id: command not found
Am I missing something?
thanks for your comments,
-Gian

Hi @gian

See this thread on the topic.
https://community.ipfire.org/t/missing-openssh-client-or-ssh-copy-id-command-not-found/6265

sorry, I forgot I had asked the same question just a while ago, must be ageing…

No problem. Done similar thing myself in another forum.

Alternative in a line of shell script:

cat ~/.ssh/id_rsa.pub | ssh user@server "mkdir -m 700 ~/.ssh; cat >> ~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys"
2 Likes

thanks!!!
I really appreciate your help!