JeeshOfOne Posted March 5, 2012 Posted March 5, 2012 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? Quote
Darren Kitchen Posted March 5, 2012 Posted March 5, 2012 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? Quote
condor Posted March 12, 2012 Posted March 12, 2012 Hardware/firmware/OS T-Mobile ZTE MF591/ MKIV 1.0.2/ XP;btr2 Services: ssh on boot ssh autoconnect Wireless Cron Jobs 3G bootup 3G redial SSH: online IP addresses: USB 3G Modem: 22.78.73.14 Public Internet: 208.54.80.254 <----this keeps changing, I think on every refresh? * I'll check on that I am trying to ssh into pineapple remotely using public ip given through T-Mobile ZTE MF591. I get a timeout error. I can ssh into pineapple from netbook associated with pineapple ap, then ssh out thru internet using the 4G modem, into my honeypot@home. Just not in the reverse. any suggestions? in posting this I've decided to attempt disabling the 3G redial. but as I go to log into the pineapple, I can't find it's SSID AGAIN!!! Quote
JeeshOfOne Posted March 13, 2012 Author Posted March 13, 2012 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.