By akselseri
Hello, I tried every possible method and tutorial that exists in the internet but ssh still wants me to connect the commands with public,key and password
For example i try command ip-copy-id -i id_rsa.pub user@ip-address it will want me my password and than permission denied (public key, password)
anyone have any suggestions the others solution i tried was nano command, keygen etc…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @akselseri,
You need to add your key in the ~/.ssh/id_rsa.pub file on your Kali installation. That’s it, there is nothing more than that.
If you are receiving permission denied (public key, password) this means your server for whatever reason can’t read the ssh key you’ve added to it. This can be due to ownership, permissions or your SSH and SSHD config which can be found in /etc/ssh/sshd_config and /etc/ssh/ssh_config.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.