The 3rd solution is that we can choose to ignore .bashrc when using ssh and replace this file with the bash on our PC. For example, run, ssh bandit18@bandit.labs.overthewire.org -p 2220 /bin/bash, and then type in the password. This would give you a bash-like stuff so you can directly write cat readme to get the password for the next level.

Knowledge is power, especially when it‘s shared. Articles @ https://medium.com/adamedelwiess/homepage/home

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store