Add HISTCONTROL to ignore dups in history, add extract function and add SSH config