Add ssh hack
This commit is contained in:
parent
be0b990385
commit
9a4e395b60
2 changed files with 8 additions and 2 deletions
3
.bashrc
3
.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 ssh='ssh -F <cat 2>/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) "'
|
5
ssh.conf
Normal file
5
ssh.conf
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue