PDA

View Full Version : File copying with SSH


Dmtriy A.A.
January 6th, 2009, 05:33 PM
Hi all.
Help me please. I can't write files to Iphone with SSH.

I've jailbreaked my Iphone 3G, install OpenSSH package. Everything is alright. I use Macbook and Fugu for SSH acces to the iphone filesystem. I connect to iPhone. I am able to browse filesystem. I'm able to create folders on iPhone. I'm able to copy files FROM iPhone.

But I can't write files TO Iphone. Client application on Mac hangs and nothing happens. It seems that empty file (which is copied) is created and then data stop flows, the process just hangs for indefinite time.

I loged as mobile and as root. I used fugu, MuCommander, Cyberduck clients. I checked permssion rights: I have 777 rights to do anything in the dir (but it has not have any difference since I log in as root). I checked Auto-Lock option on iPhone to Never. In other words all is have to be ok...

What may be the reason for such error?

Thanks in advance.

P.S.: sorry for my English, it's not native.

thelarster
January 7th, 2009, 01:55 PM
Hmm... I've never ran into that. TUAW wrote a quick guide a while back. Perhaps the answer is in there....

http://www.tuaw.com/2007/07/23/ssh-on-iphone

HackThatPhone
January 7th, 2009, 08:08 PM
I'm uncertain what your exact error is. I wrote an OpenSSH/Fugu guide a long time ago here http://www.hackthatphone.com/20/open_ssh.html

Dmtriy A.A.
January 8th, 2009, 06:16 PM
Thanks. I've already read these manuals.

I was trying to login from win machine. On windows all is ok. Files are copying to iPhone when I use windows machine. Also Air Sharing and Files Lite apps for iPhone work correct when I use windows. On Macbook the same problem still exist for any sftp cilent, also for Air Sharing and Files Lite: I can't wtite to iPhone.

Ok... I'll look at detailed syslog...