Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

A4orce84

macrumors 6502
Original poster
Apr 17, 2012
433
46
Hey Guys,

Quick Question, I installed openSSH on my iPhone and got the client working and am able to ssh on to my phone with no issues. I'm trying to copy a picture (from OSX terminal) from my iPhone to my computer, but it's not working:

AMBP:~ aahmad$ scp root@192.168.2.2 /private/var/mobile/Media/DCIM/100APPLE/IMG_0929.JPG ~/Desktop/tmp/

cp: root@192.168.2.2: No such file or directory
cp: /private/var/mobile/Media/DCIM/100APPLE/IMG_0929.JPG: No such file or directory

What am I doing wrong here? Thanks in advance!

--Asif
 
The whole point of using SSH is to not have to connect the phone to the computer. I want to do it all wirelessly, if my phone was in another room in the house for example.
 
Use something like Cyberduck to SSH into the phone, problem might arise worh keeping the connection alive after the phone goes to sleep.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.