Reputation
3,262
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
15 27
Impact
~184k people reached

Apr
18
awarded  Popular Question
Mar
18
comment How does reverse SSH tunneling work?
@briankip Yes, of course. At least if you want to make a ssh connection to the computer behind the firewall (through the tunnel or directly, if the firewall permits that). I.e.: The ssh-command you write on the firewalled computer only opens a tunnel, but does not start or work as a ssh-daemon/-server. Your next question should be, how to start a sshd without root privileges (if that is your problem). :-)
Mar
15
comment pdf to jpg without quality loss; gscan2pdf
For the other way round, convert images to a pdf, or better, wrap images into a pdf, use img2pdf, here: gitlab.mister-muffin.de/josch/img2pdf (wraps jpg and jpg2000 into a pdf).
Mar
5
answered An error during boot that I can not see
Feb
7
answered Install mplayer on Centos 7
Feb
3
awarded  Yearling
Feb
3
awarded  Good Answer
Jan
30
comment Remotely control an xorg session
@einpoklum: If I run the w command, I get the following output: 21:31:00 up 23:13, 1 user, load average: 0,50, 0,51, 0,50 USER TTY LOGIN@ IDLE JCPU PCPU WHAT erik :0 Fr22 ?xdm? 12:39 0.65s gdm-session-worker [pam/gdm-password], where TTY displays my current display (:0) and the USER the current user who started that X-server (erik).
Jan
15
comment how to replace a sed expression (change and print only matched line) with a perl expression?
Next time you should read carefully. I want it to search for a pattern, and only when the pattern is found, "stuff" is changed to "changed".
Dec
23
comment How does reverse SSH tunneling work?
@tamzord Well, in my diagram I haven’t really painted the default port 22 of the ssh server (= ssh daemon, = sshd). What would change, is the point the tunnel/tube connects to remotehost (move it a little up or down).
Dec
23
comment How does reverse SSH tunneling work?
@tamzord The -p option is the port where your ssh connects to the remotehost. By default ssh uses port 22 (changeable in the server’s /etc/ssh/sshd_config). Then, following your example ssh -p 6789 -R 12345:localhost:22 remotehost, all connections made to remotehost to port 12345 are redirected through the tunnel to yourhost to port 22. If at yourhost you have the default sshd-configuration, someone could connect with ssh to remotehost to port 12345, which would turn out in a ssh-connection to your host in reality (through your established and active tunnel).
Dec
3
comment Determine xinput device manufacturer and model?
-1 because this doesn’t work for non-usb devices. And it even doesn’t work for all usb devices, because lsusb often does not show a product name. ManuelSchneid3r’s answer worked best for me, that is: xinput list.
Dec
3
comment Determine xinput device manufacturer and model?
xinput list shows both vendor and product name in one line, separated only by a space char. In my case it was TrulyErgonomic.com Truly Ergonomic Computer Keyboard instead of Truly Ergonomic Computer Keyboard. But MatchProduct seems to work with both strings: vendor and product name (as listed by xinput list) or only product name (as listed by udevadm).
Dec
3
comment Determine xinput device manufacturer and model?
Ok, I just tested it: It works both with the whole string from xinput list, which is vendor and product name (at least in my case), and with the product name only (which I got from udevadm replacing the _ chars with spaces.
Dec
3
comment Determine xinput device manufacturer and model?
But this lists the product names with _ instead of spaces. In my case it was Truly_Ergonomic_Computer_Keyboard instead of Truly Ergonomic Computer Keyboard. xinput list shows it correctly, but vendor and product name together in one line.
Dec
3
comment Determine xinput device manufacturer and model?
@Christopher: No, xinput list show both vendor and product name in one line, separated by a space. I needed to use @DanielK’s answer to find only the product name. But udevadm shows _ instead of spaces. Easier to use might be the MatchUSBID found with lsusb or lsusb -v.
Nov
19
revised Mounting multiple img files as single loop device
added 100 characters in body
Nov
19
revised Mounting multiple img files as single loop device
added 109 characters in body
Nov
19
answered Mounting multiple img files as single loop device
Nov
18
comment Is it possible to mount a gzip compressed dd image on the fly?
Usually mksquashfs uses zlib compression (that is the one gzip uses). But you can change that using the -comp option. Compressors available: gzip (default), lzma (no kernel support), lzo, lz4 and xz.