Timeline for How to automatically run commands on SSH login?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 26, 2019 at 12:00 | comment | added | clearlight | THIS is very useful. Not sure if it's exactly the answer the questioner asked, but people should know about it, since it may not be obvious. For example "ssh user@host "export x=5; bash" Then in terminal that pops up echo $x displays 5. | |
Aug 1, 2017 at 10:57 | history | answered | Dmitry Grigoryev | CC BY-SA 3.0 |