| Summary: | ssh can not exit when a command is running in backgroup | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | John <xylene2016> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 8.8p1 | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 3353 | ||
|
Description
John
2022-01-21 01:45:54 AEDT
But it does exit after 30 seconds, right? If so, then this is completely intentional. Use nohup if you want to disown background processes. commit 5c79952dfe1aa36105c93b3f383ce9be04dee384 upstream: prepare for conversion of ssh, sshd mainloop from From this commit, ssh will be hanging. But before this commit, ssh will exit immediately. This conversion is not completed, not ready for use yet? Thanks for finding the commit that caused this - it was a great help. That commit accidentally disabled a hack for Linux to handle this condition on sessions with ttys. I just pushed a fix in e204b343 closing bugs resolved before openssh-8.9 |