sudo ssh-copy-id -i ~/.ssh/mykey.pub thor@app01
I need thor@app01’s password
what is it?
Thanks!
sudo ssh-copy-id -i ~/.ssh/mykey.pub thor@app01
I need thor@app01’s password
what is it?
Thanks!
Do you have a link to the lab please?
I solved it. I just had to read the assignment properly and copy the ssh key into the ~/.ssh/authorized_keys file. thanks!
EDIT: the solution was actually creating a new key-pair as a normal user and then ssh-copy-id -i ~/.ssh/mykey.pub thor@app01