First we connect to the server using ssh
Then we connect to the same server (localhost) using ssh as bandit14 using its private key.
ssh [email protected] -p 2220
ssh bandit14@localhost -i sshkey.private -p 2220
This connects to the localhost as bandit14
using private key. Then we go to the given file address and print the data.
cd ..
cd ..
cd /etc/bandit_pass/bandit14
Flag - fGrHPx402xGC7U7rXKDaxiWFTOiF0ENq