Add sshc alias for ad-hoc ssh commands
This commit is contained in:
parent
c3c1bdfe32
commit
13ae360f63
1 changed files with 1 additions and 0 deletions
1
.bashrc
1
.bashrc
|
@ -2,5 +2,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 ssh='$(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)>/tmp/.${UID}ssh_config) ssh -F /tmp/.${UID}ssh_config'
|
||||
alias sshc="ssh -o RemoteCommand=none"
|
||||
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) "'
|
||||
|
|
Loading…
Reference in a new issue