Reputation
322
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 8
Newest
 Revival
Impact
~11k people reached

  • 0 posts edited
  • 0 helpful flags
  • 36 votes cast
Oct
1
comment generating known host entry
@MartinPrikryl ... Better? :)
Oct
1
revised generating known host entry
add a better explanation that actually answers the question
Jun
17
comment Can I make cURL fail with an exitCode different than 0 if the HTTP status code is not 200?
Ah, right -- and codes will wrap at 8 bits, so error 404 becomes exit value 148, 500 becomes 244. Confusing indeed! :-)
Jun
16
comment Can I make cURL fail with an exitCode different than 0 if the HTTP status code is not 200?
@Justin: What about if [ "$statuscode" -ne 200 ]; then exit "$statuscode"; fi ?
Mar
11
awarded  Revival
Oct
22
comment SSH port forwarding without session
You could perhaps add your debug output to your question (not in a comment). Maybe ssh isn't even establishing the session? Too many possible things that could be broken, not enough detail to diagnose.
Oct
20
comment SSH port forwarding without session
The -fNT options do work in general, I use them every day. I don't know enough about your particular setup to be able to explain why your tunnels might be getting closed after the ssh process backgrounds itself. The debug output you describe does not appear to be an error. If you want to update your question with the detailed results of your experiment, it would help us come up with better answers.
Oct
20
comment Is it possible to make a peer-to-peer SSH connection via bittorrent-like technique?
@ceremcem, I'm pretty sure I do understand what you're asking, which is "can I do this", to which my answer remains "probably not". Per my last paragraph, if you want to develop a solution akin to bittorrent-style UDP hole punching, I'm sure others would cheer you on, but it's not part of SSH, and AFAIK no such add-on solution exists at this time.
Oct
17
comment What is the difference between “elif” and “else if” in shell scripting?
Please specify the shell in your question and with a tag. There are many shells, and they all have slightly (or radically) different syntax.
Oct
17
comment looping through `ls` results in bash shell script
+1. I wish more people would use find. There is magic that can be done, and even the perceived limitations of -exec can be worked around. The -print0 option is also valuable for use with xargs.
Oct
17
comment looping through `ls` results in bash shell script
Filenames can also contain newlines, and they often do when users are permitted to name their own files. Breaking on \n is insufficient. The only valid solutions use a for loop with pathname expansion, or find.
Oct
17
comment looping through `ls` results in bash shell script
Filenames can also contain newlines. Breaking on \n is insufficient. It's never a good idea to recommend parsing the output of ls.
Oct
17
answered Is it possible to make a peer-to-peer SSH connection via bittorrent-like technique?
Oct
17
answered SSH port forwarding without session
Oct
17
answered using ssh proxy command based on the current network
Sep
24
awarded  Autobiographer
Sep
17
comment Is there a webmail client which can handle mutiple mail accounts?
There's a trac discussion that indicates that core functionality like this may be considered, but the only solution I've seen provides IMAP settings per identity. Perhaps that will do what you need. Please let us know your results.
Sep
17
revised Pound: configure to handle WebSocket
add update for HAProxy 1.5
Sep
17
comment Pound: configure to handle WebSocket
Nicely done. Thanks for this update. :-)
Aug
4
awarded  Yearling