Skip to content

Instantly share code, notes, and snippets.

Sebastian Webber sebastianwebber

Block or report user

Report or block sebastianwebber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sebastianwebber /
Created Feb 7, 2017 — forked from dergachev/
Forward your clipboard via SSH reverse tunnels

Exposing your clipboard over SSH

I frequently administer remote servers over SSH, and need to copy data to my clipboard. If the text I want to copy all fits on one screen, then I simply select it with my mouse and press CMD-C, which asks relies on m y terminal emulator (xterm2) to throw it to the clipboard.

This isn't practical for larger texts, like when I want to copy the whole contents of a file.

If I had been editing large-file.txt locally, I could easily copy its contents by using the pbcopy command:

View rhq-agent.service
Description=RHQ Agent
ExecStart=/opt/rhq-server-4.13.1/bin/rhqctl start --agent
sebastianwebber / rhq-server.service
Last active Aug 29, 2015 — forked from rafaeltuelho/rhq-server.service
JON/RHQ Server Unit Service for Systemd bases systems (tested with JON 3.3.0.GA-Update2 on RHEL 7)
View rhq-server.service
Description=RHQ Server
View rhq-storage.service
Description=RHQ Storage Node
ExecStart=/opt/rhq-server-4.13.1/bin/rhqctl start --storage
sebastianwebber / wildfly.service -.ini
Last active Aug 29, 2015 — forked from marekjelen/gist:8568448
Wildfly Domain Controller Service for SystemD systems
View wildfly.service -.ini
Description=WildFly Domain Controller
ExecStart=/opt/wildfly-8.2.0.Final/bin/ -bmanagement=
You can’t perform that action at this time.