Skip to content

openssh can't keep the child processes running, once the parent process ends #1418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sudhirraghuwanshi opened this issue Jul 16, 2019 · 2 comments

Comments

@sudhirraghuwanshi
Copy link

Please answer the following

"OpenSSH for Windows" version
8.0.0.0 beta

Server OperatingSystem
Windows Server 2012 Standard

Client OperatingSystem
SUSE Linux Enterprise Server 12

What is failing
command:
ssh windows-host "perl.exe script123.pl"

I am calling multiple scripts inside script123.pl, which in turns creating a tree of child process under parent process.
But the problem I am facing with OpenSSH is, when parent process gets completed, it terminates the session and kills the child processes along.

Expected output
The parent script(parent process) is calling other scripts in background, and it comes out without disturbing the child scripts (child processes).
This is the expected behavior, it works with other SSH tools for windows, eg: SSH Tectia .

@manojampalam
Copy link
Contributor

check this one - #1032

@sudhirraghuwanshi
Copy link
Author

sudhirraghuwanshi commented Jul 17, 2019

@manojampalam Thank you that helps.
Is it possible to have this built-in in OpenSSH package, because for me it is the matter of multiple servers where we run different script languages?
The ssh-shellhost.exe mentioned in #1032 does not work with Openssh 8.0.0.0

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants