From charlesreid1

Revision as of 17:24, 26 March 2016 by Admin (talk | contribs) (Created page with "=Background Info= On your attacking machine, copy your public SSH key in <code>~/.ssh/id_rsa.pub</code>. Using your remote shell, modify the Metasploitable Virtual Machine's...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Background Info

On your attacking machine, copy your public SSH key in ~/.ssh/id_rsa.pub. Using your remote shell, modify the Metasploitable Virtual Machine's /root/.ssh/authorized_keys file to include your attacking machine's public key. This will give you root access without a password.

Then you'll be able to log in like this:

# ssh root@10.0.0.27
Last login: Tue Mar 22 20:26:16 EDT 2016 from :0.0 on pts/0
Linux metasploitable 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
You have new mail.
root@metasploitable:~# 


Flags