Timeline for OpenSSH: How to run a command upon ssh connection
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 16, 2020 at 21:59 | comment | added | Kenster | "then allows the SSH session to start" This is actually pretty vague. The client makes a TCP connection to the server, negotiations encryption, authenticates, and then can create one or more shell sessions, SFTP sessions, TCP port forwards, and so on. At what point in this process should this command run? Should it run for SFTP sessions or sessions that only do port forwarding? If a person makes one SSH connection and runs two different shell commands through it, should the command run twice? | |
| Aug 16, 2020 at 19:18 | answer | added | Artem S. Tashkinov | timeline score: 2 | |
| Aug 16, 2020 at 19:12 | comment | added | Mahdi | My OS is Ubuntu or can be any other Linux distro | |
| Aug 16, 2020 at 19:10 | answer | added | Jakuje | timeline score: 1 | |
| Aug 16, 2020 at 19:10 | comment | added | Artem S. Tashkinov | What your OS is? | |
| Aug 16, 2020 at 19:06 | history | asked | Mahdi | CC BY-SA 4.0 |