Mac OS X and SFTP

Post about your cool new gadgets and toys. Ask other users for help with techy problems.

Mac OS X and SFTP

Postby Мастер » Sun Aug 30, 2015 4:32 pm

I have discovered something a bit odd.

For a while, I've tried transferring files between different Apple computers I own. (Well, OK, technically, I don't own any Apple computers, my employer does.) I enabled remote login, and then would use sftp to transfer files.

This worked just fine for small files. For large files (let's say, measured in a few gigabytes), it was pretty much guaranteed that it would fail. The progress indicator at my end (so on the computer in front of me, the one I'm typing on) would inevitably say "stalled", and the throughput rate (also printed out in the progress line) would slowly decline until it reached zero. And then it would just say there.

I've now discovered that all I have to do is open up another terminal session on the local computer, and log into the remote computer using SSH. Then just type something, anything. List all the files in a directory, whatever. This seemed to magically reanimate the stalled sftp session, even if it had stopped quite a long time ago.

I'd say that's an OS bug - the computer must go into some state of partial shutdown, where not all functions are working all the time. It monitors ssh connections, to see if anyone remotely is trying to do something, but it doesn't do the same for sftp connections.

Time to complain to apple?
They call me Mr Celsius!
User avatar
Мастер
Moderator
Moderator
Злой Мудак
Mauerspecht
 
Posts: 23946
Joined: Tue Aug 02, 2005 2:56 pm
Location: Far from Damascus

Re: Mac OS X and SFTP

Postby Lance » Sun Aug 30, 2015 4:53 pm

Мастер wrote:Time to complain to apple?

Probably.

Windows used to do something similar. One of the power saving features is to power down the spinning of the hard drive after some period of non-use. I'll bet that's what you've got going on too. Are there power settings you can adjust? Perhaps setting everything to Max Performance as a test would help narrow it down.
No trees were killed in the posting of this message.
However, a large number of electrons were terribly inconvenienced.

==========================================

Build a man a fire and he will be warm for a few hours.
Set a man on fire and he will be warm for the rest of his life.
User avatar
Lance
Administrator
Administrator
Cheeseburger Swilling Lard-Ass who needs to put down the remote and get off the couch.
 
Posts: 91438
Joined: Thu May 12, 2005 5:51 pm
Location: Oswego, IL


Return to Computers and Gadgets

Who is online

Users browsing this forum: No registered users and 2 guests

cron