Timeline for How do ssh remote command line arguments get parsed
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 19, 2020 at 22:54 | comment | added | Maxpm | @Gilles'SO-stopbeingevil' Aha! Thanks, that clarification helps. | |
| Dec 19, 2020 at 19:56 | comment | added | Gilles 'SO- stop being evil' |
@Maxpm “Login shell” can mean two different things: in the man page, it's a way of invoking a shell with the zeroth argument beginning with -, which tells shells to do their login-shell behavior such as reading .profile. In my answer, where I've added a clarification, I mean the shell that's registered as the user's shell in the user database (/etc/passwd or equivalent).
|
|
| Dec 19, 2020 at 19:55 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 4.0 |
clarify the statement about the login shell (it isn't invoked as a login shell)
|
| Dec 17, 2020 at 19:33 | comment | added | Maxpm |
"The server takes that string, runs the user's login shell and passes it that string." On my machine, man ssh seems to contradict this. It says, "If a command is specified, it is executed on the remote host instead of a login shell."
|
|
| Jan 5, 2018 at 14:49 | vote | accept | onlynone | ||
| Jan 3, 2018 at 21:22 | comment | added | onlynone | ha! can't believe you beat me to answering my own question. I figured it out halfway through posting the question and figured I should just go through with asking and answering it myself. | |
| Jan 3, 2018 at 21:14 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |