Find the answer to your Linux question:
Results 1 to 8 of 8
I have the following problem: I want to log on to a remote linux machine which has a high-speed internet connection and download some big files to the remote machine. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    20

    ssh access


    I have the following problem:

    I want to log on to a remote linux machine which has a high-speed internet connection and download some big files to the remote machine.

    I log on via ssh and use wget to download the files.

    The problem is that I have to stay logged on for the whole time while the files are being downloaded. If I log off, wget terminates. Is there a way to start wget and set it to work even while the ssh connection is disconnected?

    Best regards,

    Lothar

  2. #2
    Linux Newbie
    Join Date
    Mar 2005
    Location
    Romania
    Posts
    186
    Code:
    wget <url> &
    You can only be young once. But you can always be immature.

  3. #3
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Code:
    nohup wget <url> &

  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Posts
    20
    Thanks for the answers, now it works, at least somehow. But I still have a problem:

    If iI start wget in the background and log out of the remote computer, ssh does not terminate. Is there a tutorial/FAQ somewhere for background processing and ssh?

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Posts
    20
    I found solution: http://www.kuro5hin.org/story/2004/3/9/16838/14935
    I think this will do what I want.

  6. #6
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by Lotharster
    I found solution: http://www.kuro5hin.org/story/2004/3/9/16838/14935
    I think this will do what I want.
    Yes. Screen is a truly wonderful program.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  7. #7
    Just Joined! sauron73's Avatar
    Join Date
    Sep 2006
    Posts
    1

    if there is not 'screen'

    if there is not 'screen'.
    I know 'screen' - it is very useful tools - but I have not screen (and I cannot install it) - is there any differen way to close terminal afer call 'nohup' from 'ssh' remote execution ?

    I mean:

    1. 'ssh' execute script with 'nohup' command
    2. terminal does not close - how to close this terminal ?

    regards,
    t

  8. #8
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    Quote Originally Posted by sarumont
    Quote Originally Posted by Lotharster
    Yes. Screen is a truly wonderful program.
    Wow! That's really nice. I was also switching to other emulators but this is much better.
    Thanks for the link
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •