Jump to content

JeeshOfOne

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by JeeshOfOne

  1. Sounds like you're doing it right - as far as I can tell. Though you'll need to check the config of the remote server to ensure that it supports key authentication. Have you consulted the documentation from the SSH page on the MK4?

    I updated my firmware to 1.0.2 and I am able to SSH with keys now. I have no clue what changed but it is fixed now!

    Thanks for your help

  2. Maybe I'm doing something wrong (it's most likely me) but I am unable to ssh from the pineapple mk4 into any computer running openssh using key authentication. However, I can ssh with a password.

    What I am doing in more detail:

    1. With dropbear for creating the ssh keys

    1. create dropbear key

    a. dropbearkey -t rsa -f id_rsa

    b. copy printed public key to a remote machines authorized_key file

    2. ssh -i id_rsa will@<ip-of-server>

    a. just asks for the password auth

    2. Using openssh on a separate machine to create the key pair

    1. create the key

    a. ssh-keygen then specify a local location for the files

    b. scp the files to the pineapple

    c. place id_rsa in /root/.ssh/id_rsa

    d. copy id_rsa.pub into remote aut_keys file and replace hostname

    2. ssh -i /root/.ssh/id_rsa will@<ip-of-server>

    a. command returns: "ssh: Exited: String too long"

    could anyone tell me what I am doing wrong?

×
×
  • Create New...