开发者

SSH from iPhone to iPhone - Trying to transfer sms.db file

开发者 https://www.devze.com 2023-03-28 11:16 出处:网络
I\'m trying to put together the terminal command so I can ssh to a friends iPhone and copy his 开发者_StackOverflow中文版sms.db file to my device. I\'m using mobile terminal.

I'm trying to put together the terminal command so I can ssh to a friends iPhone and copy his 开发者_StackOverflow中文版sms.db file to my device. I'm using mobile terminal.

This is what I've put together so far.

scp root@IPHONE_IP_ADDRESS:directory_of_file directory_where_file_is_copied_on_my_device

scp root@192.168.1.102:/private/var/mobile/Library/SMS/sms.db /var

I'm then asked for password, I enter it and I get this.

 /var/sms.db: Permission Denied

Can someone tell me whats needed or what my mistake is? Thank you!


you need to setup the permissions properly (chmod) OR use a different folder with the appropriate permissions/rights.

0

精彩评论

暂无评论...
验证码 换一张
取 消