LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Try to link iPhone and i get "Permission denied (publickey,keyboard-interactive)" (http://www.linuxquestions.org/questions/linux-newbie-8/try-to-link-iphone-and-i-get-permission-denied-publickey-keyboard-interactive-849440/)

so_green 12-10-2010 02:16 AM

Try to link iPhone and i get "Permission denied (publickey,keyboard-interactive)"
 
Hi guy and girls,
Just a quick question as im a little new to this and well lets face it am way over my head.
MY STORY = I could have accidentally erased my girls iphone and over course she didn't have a back up.
i have now jail broken the iphone and just want to dump the disk info on to my computer so i can run a disk recovery over it.
I found out how to go about it but this is the info i get out of the Terminal window when i try to pull the info off the phone through ssh


Last login: Fri Dec 10 18:49:57 on ttys000
evan-dicksons-iMac:~ evandickson$ ssh root@192.168.2.6
root@192.168.2.6's password:
Tatyana-Leonovs-iPhone:~ root# dd if=/dev/disk0 | ssh username@192.168.2.dd of=iphone-dump.if=/dev/disk0i
dd: reading `/dev/disk0': Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.003939 s, 0.0 kB/s
ssh: Could not resolve hostname 192.168.2.dd: nodename nor servname provided, or not known
Tatyana-Leonovs-iPhone:~ root# dd if=/dev/disk0 | ssh tatyana-leonov-iphone@192.168.2.7 'dd of=iphone-dump.img'
dd: reading `/dev/disk0': Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000647 s, 0.0 kB/s
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
Tatyana-Leonovs-iPhone:~ root#


Can any one see where i have gone wrong??

teckk 12-10-2010 08:59 AM

Not sure if I can help you. 2 things I see

"/dev/disk0': Invalid argument"
You sure you have the correct device?
Plug it in and issue
Code:

dmesg | tail
"username@192.168.2.dd of=iphone-dump.if=/dev/disk0i"
Is that a typo or did you forget the last octet of the IP address?


All times are GMT -5. The time now is 09:54 AM.