Zend certified PHP/Magento developer

ssh login with sshkey is asking for passphrase? -bandit overthewire

Im playing the game bandit on overthewire.

Im on level 16-17.

Here is what i have so far

  • nmap -Pn -A localhost -p 31000-32000
  • echo cluFn7wTiGryunymYOu4RcffSxQluehd | openssl s_client -quiet -connect localhost:31790
  • echo “RSA PRIVATE KEY – (Enter) – (ctrl-c) – (up) – (close with quote) – (finish with > /tmp/key/sshkey.private)
  • cat /tmp/key/sshkey.private
  • ssh -i /tmp/key/sshkey.private bandit17@localhost
  • (ctrl-c)
  • cd /tmp/key/
  • ls -la
  • chmod 400 sshkey.private
  • ls -la
  • ssh -i /tmp/key/sshkey.private bandit17@localhost

it never asked for a passphrase before but now it is.

thoughts?

Thanks