OK. Let me rephrase it:
Please help me with sftp connections. Nautilus can handle remote filesystems via SSH/SFTP. I used it since very first version in GNOME. It's the main reason I use Linux, and main reason for GNOME (or KDE).
Until about couple a weeks ago it looked likie this:
I connect to remote server with Nautilus (using bookmarks for frequently userd servers). The directory listing appears immediately, and whole thing works almost as fast as local filesystem. No single problem ever here.
THEN I WRITE CODE OR POST FOR 5 MINUTES OR MORE. WHEN I GET BACK TO NAUTILUS - IT'S FROZEN. I HAVE TO DISCONNECT REMOTE FILESYSTEM AND RECONNECT IT AGAIN.
Why such a strange thing happens? It's very annoying. I use remote filesystem at work, I need directories opened in tabs to organize my work and update files quickly. No, it's not commiting my changes, I really need to manualy check files, upload and download. So Nautilus was the best choice for years.
What happened? It looks like every SFTP connection has a hidden iddle time and it's disconnected without notifying Nautilus it did. Is it a magic setting to block disconnecting? I don't want my connections to be shut down ever! Only manually or on system shutdown.
Now even weirder part. It works good with KDE and Dolphin. No disconnecting. But wait, it worked in GNOME. Please, help.
Recently I tried GNOME 3. Same thing. In KDE/Dolphin connection stay, in GNOME they freeze after about 5 minutes of being idle. I tried to upload a huge directory with Nautilus. It worked for 15 minutes. It doesn't break when I use connection. It does break when it's not used. It looks like a timeout, and if it's a timeout, it should be configurable, but where?
I've added "ConnectTimeout 0" to /etc/ssh/ssh_config - but it didn't help.