LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2006, 05:09 PM   #1
stevec
LQ Newbie
 
Registered: Mar 2004
Location: Bloomington, IN
Posts: 21

Rep: Reputation: 15
closing SSH session without killing the SFTP transfer on the remote machine


I'm connecting to my home computer from work via SSH. My home computer is transferring a large file via SFTP to a different machine.

I have to leave and log out of the computer (closing my SSH session) at 5:30 EDT. The transfer will not be done by then.

Can anyone tell me the best way to prevent the killing of my transfer on my home machine when I have to end the SSH session on my work machine?

Thanks in advance.
 
Old 04-20-2006, 05:47 PM   #2
stevec
LQ Newbie
 
Registered: Mar 2004
Location: Bloomington, IN
Posts: 21

Original Poster
Rep: Reputation: 15
I've checked out screen and nohup, but I'm not sure how I can use these when the sftp transfer is already running?
 
Old 04-20-2006, 06:13 PM   #3
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by stevec
I've checked out screen and nohup, but I'm not sure how I can use these when the sftp transfer is already running?
You can't. One thing you could do is terminate the transfer and restart it using nohup and run it in the background:

$ nohup sftp {blah) &

I don't know if sftp supports resuming file transfers or not.

Peace...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 34 05-24-2013 10:28 AM
Killing an SSH Session chatmasta Linux - Networking 4 07-03-2005 10:44 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM
Restricting SFTP, SSH Remote Login majicrobot Linux - Security 1 09-20-2004 11:54 AM
killing a users ssh session acid2000 Linux - Software 6 03-17-2003 11:17 AM


All times are GMT -5. The time now is 04:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration