Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 1 5
Impact
~38k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Apr
20
awarded  Famous Question
Sep
30
awarded  Notable Question
Sep
17
awarded  Supporter
Aug
19
awarded  Popular Question
Apr
26
awarded  Informed
Apr
25
awarded  Scholar
Apr
25
accepted PuTTY: Run a remote command after login & keep the shell running
Apr
25
comment PuTTY: Run a remote command after login & keep the shell running
Works now! Thank you!
Apr
25
comment PuTTY: Run a remote command after login & keep the shell running
Meanwhile, I tried to start mc. :-) It didn't, and provided some output: Cannot get terminal settings: Invalid argument (22) TERM environment variable needs set.
Apr
25
comment PuTTY: Run a remote command after login & keep the shell running
I tried that (adding /bin/bash to cmd.txt) and that does not work. As far as I understand, bash starts in non-interactive mode and, having no code to execute, exits. Is there a way to start an interactive shell that way?
Apr
25
revised PuTTY: Run a remote command after login & keep the shell running
edited tags
Apr
25
comment PuTTY: Run a remote command after login & keep the shell running
Emacs & tramp are irrelevant here, I added that just for the background. That's not about editing file in emacs, that's about opening a shell to do something else with that file (e.g. run a script). I'm tired of "start putty, choose you host, then cd to the path you need", and want to automate that.
Apr
25
awarded  Student
Apr
25
asked PuTTY: Run a remote command after login & keep the shell running