Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    Using exec is a good use-case when you are on an SSH-connection, and want to "hand" an existing connection to another user without the need to reconnect. I wonder if there are vulnerabilities in terms of security with regard to this. Commented Jan 5, 2020 at 21:12
  • 1
    It's a direct process fork; nothing should be inherited by the new process... except environment variables and path! Oh, and potentially also ssh-agent. Envars and ssh-agent keyring could be worrisome! Commented Jan 13, 2020 at 21:18