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, 04: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, 04: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, 05: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 35 10-23-2017 12:21 AM
Killing an SSH Session chatmasta Linux - Networking 5 05-27-2015 02:51 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Restricting SFTP, SSH Remote Login majicrobot Linux - Security 1 09-20-2004 10:54 AM
killing a users ssh session acid2000 Linux - Software 6 03-17-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration