Skip to content

Instantly share code, notes, and snippets.

View ningsuhen's full-sized avatar

Ningsuhen Waikhom ningsuhen

View GitHub Profile
@ningsuhen
ningsuhen / SSH_Copy_To_Local_Clipboard.md
Last active March 7, 2020 01:00
A small script which will enable copying into local clipboard from remote ssh instance. Based on RemoteCopy.

#Installation Just add the code snippet of add_to_bash_profile to ~/.bash_profile or ~/.bashrc depending on your OS.

##Command Line Usage

rclip "Some String to be copied to your local Clipboard"
Input secret:

Press Cmd+V (copy) or Ctrl+V and press enter.