Skip to content

Commit

Permalink
Add ssh aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
bryteise committed Sep 18, 2023
1 parent a63d5ed commit cc9b35a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ alias g=git
# youtube-dl
alias ydv="yt-dlp -N 4 --format mp4 --restrict-filenames -o '%(title)s.%(ext)s'"
alias yds="yt-dlp -N 4 --audio-format aac -x --restrict-filenames -o '%(title)s.%(ext)s'"

# ssh shortcuts
alias sshp="ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no"
alias sshh="ssh -o UserKnownHostsFile=/dev/null"
alias sshhp="ssh -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password -o PubkeyAuthentication=no"

0 comments on commit cc9b35a

Please sign in to comment.