Showing posts from May, 2015

Reuse SSH connection

To reuse existing SSH connection, add this to ~/.ssh/config :
ControlMaster auto

Host *
    ControlPath ~/.ssh/master-%r@%h:%p So you wont be asked for password, when connection to same host, including scp and rsync

DIY: How to fix loose micro usb plug

Required tools:
Hit USB plug slowly using hammer and screwdriver. The result is USB plug's plate will be bent slightly