Reputation
252
Top tag
Next privilege 300 Rep.
Create tags
Badges
1 8
Newest
 Revival
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 33 votes cast
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
Apr
28
awarded  Caucus
Apr
14
comment getting disk identifier from the disk name
@anubhava - that fails if the device is longer than df's column width. FreeBSD appears to lengthen the line if device names are long, but on a Linux box I have here, df splits lines, so more complex parsing is required.
Jul
4
comment Pound: configure to handle WebSocket
@JanDvorak - Pound may have support, but it doesn't seem to work. In my experiments (which consisted of tcpdump captures on either side of the proxy), it appeared that Pound allowed the protocol upgrade, sent the first few bytes of payload back to the client, then simply stopped transmitting. I didn't experiment beyond determining that it doesn't work. I needed a solution, not a romp through Pound's source code. :-P
Jul
4
comment Combine tail -f with grep?
When grep is the last line in the pipe, its output is line buffered, so you see the filtered output of tail -f live, rather than delayed. Note that if you were to use multiple grep commands, any whose output was piped would need a --line-buffered option (assuming GNU or BSD grep) in order to keep this behaviour.