"Leaving" a connection open / Sessions



Greetings!

Is there a way to leave a connection open in SSH, something as a
'session' which can be restored later?

My scenario is the following: I connect to a remote machine (which has
sshd) via SSH, run octave, run a long script (which will probably take
about a month to complete), hit Ctrl+Z, type BG. So far so good, my
application goes to background.

What I would like to do next would be to log out of this ssh connection
and, when I return (with the same user), be able to fg %1 and return to
the running program. Right now when I try to do this I get a message
saying I can't, because there are jobs running on the background.

Is there a way to accomplish this? Some configuration in sshd perhaps?
I wouldn't like to have to leave two machines turned on whereas one
would suffice.

Thanking you for your attention,

Soleth

.



Relevant Pages

  • Re: Remote Execution Through FTP
    ... > I need to send some file from my local machine to a remote machine ... > generation mechanism in SSH. ... then you can script this quite easily using public key's to authenticate. ... Make sure the permissions on the .ssh directory and all the files in it are ...
    (comp.unix.admin)
  • Re: Is SSH worth it??
    ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
    (Security-Basics)
  • Re: OT: Hard disk mirror with Paragon on USB stick?
    ... at least two pages of intricate command line stuff. ... The password is only used when you want to backup to a remote machine ... via the network, using the ssh protocol. ... (e.g. with linux, ...
    (sci.electronics.design)
  • Re: getting ssh to work
    ... > I recently tried to ssh into my desktop from another machine, ... > The remote machine in question is running OpenSSH_3.6.1p2, ... try running ssh and/or sshd in debug mode. ... and then quit when the remote user logs ...
    (freebsd-questions)
  • [Full-Disclosure] SSH/OPENSSH HOLE ALL VERSIONS.
    ... ssh is a program for logging into a remote machine and for ... executing commands on a remote machine. ... I have informed ssh developers about this vulnerability and they have not ...
    (Full-Disclosure)