rsync -av -e “ssh -p 2222” ~/.ssh/id_dsa.pub root@hostname:.ssh/authorized_keys This adds the public key to the authorized_keys file in your ~/.ssh directory on the remote machine. You can specify a port other than 22 with -p####. You can also copy the ssh key to the clipboard and manually add to authorized_keys on the remote machine while […]
Archives for April 2013
GNU Screen Cheat Sheet
GNU screen usage This is a summary of some common command-line options and keystrokes for use in the terminal multiplexer GNU screen. For more details, see screen’s man page. All commands (except in copy/scrollback mode or command-line mode) start with the command character, which is assumed here to be the default Ctrl+A (denoted here as […]