**Level Information**
> [!important] The password for the next level is stored in a file **readme** in the homedirectory. Unfortunately, someone has modified **.bashrc** to log you out when you log in with SSH.
>
>
>
> **Commands you may need to solve this level:**
>
> - ssh, ls, cat
What is `.bashrc` ?
- A script that runs when logging in using a bash shell.
Using the command `echo $SHELL` we can see what shell we are currently using.
Additionally we can `cat /etc/shells` to view the shells available to us.
![[Level 18 - 19.png]]
Now that we know that we have other shells to log in with, we need to use this information to ssh into the level without getting kicked out.
Using the `-t /bin/sh` switch at the end will specify the terminal used to log in via SSH.
The password will be in the readme file.
![[Level 18 - 19-1.png]]