Using ssh, ls, cat, cd on Command Line
Things to do:
- ssh into the host bandit.labs.overthewire.org (incase you are not logged in. But if you are already logged in, skip this step and go to number 5)
- port 2220
- username bandit0
- password bandit0
- Use ls to find home and cd home to be there
- open the readme and copy the new password
- ssh into bandit1
- enter the new password copied
Remember to save these passwords in a note app for future references
ls
cd home
cat readme
copy the password
exit (to logout from bandit0)
#ssh into bandit1 using the password we copied from readme as our new password
ssh bandit1@bandit.labs.overthewire.org -p 2220
enter new password - ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
You have successfully logged in and completed bandit level 1!!
See you in level 2!
DE
Source
This article was originally published by DEV Community and written by Amanda Igwe.
Read original article on DEV Community



