cat sshkey.private
to see the ssh key.
copy the key and change the permissions using below cmd.
chmod 600 sshkey.private
now, login to bandit14 using the key
ssh -i key [email protected] -p 2220
cat sshkey.private
to see the ssh key.
copy the key and change the permissions using below cmd.
chmod 600 sshkey.private
now, login to bandit14 using the key
ssh -i key [email protected] -p 2220