0
votes
1answer
71 views

Periodically SSH process hangs on AIX

On one of our AIX servers, the following ssh process hangs sometimes: Server1# ssh -i /rsync-key Server2 "rm file" & It is a string of script in the crontab. This problem is not always ...
0
votes
1answer
777 views

How do I prevent a nohup process from being killed when ssh connection fails

I'm having an odd problem. I have a server process that gets started with nohup, and persists across logout and re-login just fine. However if I leave myself logged in and then get the "broken pipe" ...
-5
votes
1answer
106 views

how do I kill these from ssh? [closed]

root 813251 813235 0 Feb02 ? 00:00:00 /bin/sh -c /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache root 813265 813251 ...
1
vote
5answers
496 views

How to execute a process on remote Linux machine without SSH?

How can I execute a process on a remote machine running Linux without SSH. Since the machine is scheduled to PXE-boot periodically, the SSH key will be changed and executing a process through a script ...
4
votes
1answer
225 views

SSH: How to start a process that won't end after system reboot?

Is there a way to do this so when I reboot my linux server the process will reopen on startup?
87
votes
9answers
24k views

Keeping a linux process running after I logout

I'm connecting to a linux machine through SSH, because I'm trying to run a heavy bash script that makes filesystem operations, and it's expected to keep running for hours. But I cannot leave the SSH ...
0
votes
2answers
109 views

Does running “./something.sh” considered as idle?

The file ./something.sh contains multi thousands of complex jobs. this should take long time. I just simply run ./something.sh without any other command, and I must wait until it finished. I ...
0
votes
3answers
4k views

There seems to be some 'lingering' SSH connections on my server. How do I fix it?

[root@server mike]# w 14:43:35 up 83 days, 1:25, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT mike pts/1 dsl-IP.w 14:43 ...
2
votes
1answer
2k views

Can I nohup/resume an existing tar process initiation in a ssh session?

First, if I stop a tar process, will it resume from where it left off or will it have to go through all the directories again (a lot of directories and files). Second, am I correctly "disown"ing this ...
3
votes
4answers
1k views

Kill an SSH tunnel after X minutes even if it's still being used?

I'm setting up some background SSH tunnel for some backup procedures. However I'm worried the ssh process just sitting around. At the end of my script I kill the PID, but what if something happens to ...
0
votes
3answers
632 views

Why doesn't “jobs” show a ssh tunnel I opened in the background?

I'm starting a ssh tunnel like this: ssh -f -N $PORT:127.0.0.1:$port example.com the -f puts ssh into the background, which is what I want. This works, since there is a SSH tunnel set up. But if I ...