Reputation
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 12
Newest
 Yearling
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 97 votes cast
Jan
18
revised ssh: tunnel automatically when needed
clarification
Jan
15
comment ssh: tunnel automatically when needed
This will force me to always tunnel, which I don't want to do. Similarly, I am not always connecting to the same host or through the same gateway. I'm not just asking how to repeat bash commands (which is trivial), I'm asking if it is possible to use the same ssh command to perform different operations depending on location
Jan
15
revised ssh: tunnel automatically when needed
added 473 characters in body
Jan
15
comment ssh: tunnel automatically when needed
@jonno yes, for ssh, I can put the commands into bash scripts. My goal, though, is to use the same commands, or nearly the same commands, independent of my working location, and for rsync that's much more difficult because multiple paths have to be configured.
Jan
15
awarded  Yearling
Jan
15
asked ssh: tunnel automatically when needed
Sep
3
comment Enabling readline?
cxw, Arkadiusz Drabczyk: see edits. "is it plugged in" is always a good question, and I'm not always sure how best to ask it - thanks.
Sep
3
revised Enabling readline?
Show some relevant details
Sep
3
comment Enabling readline?
Yes, INPUTRC is set, and it is set to the correct file (the expanded version of ~/.inputrc)
Sep
3
asked Enabling readline?
Jul
31
awarded  Popular Question
Feb
24
revised What are the differences between “sh file.sh” and “source file.sh”?
added platform note
Feb
24
comment What are the differences between “sh file.sh” and “source file.sh”?
Thanks. Are there any differences besides the generated environment? The only different environment variables I can see are SHLVL and TMPDIR. I can't figure out any reason these variables would affect the script I'm running.
Feb
24
comment What are the differences between “sh file.sh” and “source file.sh”?
Thanks. In the context of the question, though, I'm still trying to understand what difference could cause my code to crash. Are there any differences besides the environment variables? (as I've now indicated, the shell is the same, bash, in both cases)
Feb
24
revised What are the differences between “sh file.sh” and “source file.sh”?
mention that the context of the cronjob is still important
Feb
24
asked What are the differences between “sh file.sh” and “source file.sh”?
Sep
27
awarded  Tumbleweed
Jul
2
awarded  Curious
Feb
16
asked VIM + netrw: accessing a machine behind a gateway
Nov
29
awarded  Critic