OverTheWire Bandit 18
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.
Using the password we learned in the last level (kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd), we run ssh email@example.com ls command to see files in the home folder.
We can now run ssh firstname.lastname@example.org cat readme to see the password within.