diff --git a/.bashrc b/.bashrc index 8dfa406..28bccad 100644 --- a/.bashrc +++ b/.bashrc @@ -1,5 +1,6 @@ source ~/.bashrc alias vim='vim -Nu <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.vimrc)' alias tmux='tmux -f <(cat 2>/dev/null ~/.tmux.conf <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.tmux.conf))' -alias "sudo"="sudo " -alias sudos='sudo su -c "bash --rcfile <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.bashrc) "' \ No newline at end of file +alias ssh='ssh -F /dev/null /etc/ssh_config ~/.ssh/config <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/ssh.conf))' +alias sudo="sudo " +alias sudos='sudo su -c "bash --rcfile <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.bashrc) "' diff --git a/ssh.conf b/ssh.conf new file mode 100644 index 0000000..e9f1279 --- /dev/null +++ b/ssh.conf @@ -0,0 +1,5 @@ +Host * + ForwardAgent yes + RemoteCommand /bin/bash --rcfile <(cat ~/.bashrc <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.bashrc)) + RequestTTY yes +