me
/
dotfiles
Archived
1
0
Fork 0

Add ssh aliases

main
Ethan Reece 2023-10-23 15:06:02 -05:00
parent 5158039c2d
commit b3c028acef
Signed by: me
GPG Key ID: D3993665FF92E1C3
2 changed files with 15 additions and 9 deletions

15
ssh/config 100644
View File

@ -0,0 +1,15 @@
Host *
AddKeysToAgent yes
Host utdallas1
Hostname cs1.utdallas.edu
User edr220000
Host utdallas2
Hostname cs2.utdallas.edu
User edr220000
Host codepath
Hostname lab-8aabae24-60e9-483e-b626-dba43df50b93.eastus.cloudapp.azure.com
Port 5079
User codepath

View File

@ -119,15 +119,6 @@ source /usr/share/nvm/init-nvm.sh
alias gcp-vpn='gcloud compute ssh --zone "us-central1-c" "vpn" --project "sudoer777"' alias gcp-vpn='gcloud compute ssh --zone "us-central1-c" "vpn" --project "sudoer777"'
alias fix-webcord='rm ~/.config/WebCord/windowState.json' alias fix-webcord='rm ~/.config/WebCord/windowState.json'
alias codepath='/home/sudoer777/qemu/build-asahi/qemu-system-x86_64 -smp 6 -device VGA,vgamem_mb=64 -m 2G \
-drive if=virtio,format=qcow2,file=/home/sudoer777/Documents/College\ 2023\ Spring/Codepath\ Cybersecurity/kali-linux-2023.1-qemu-amd64.qcow2 \
-device virtio-scsi-pci,id=scsi0 \
-device virtio-net-pci,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::5555-:22'
alias codepath-ssh='ssh kali@localhost -p 5555'
alias utdssh='ssh edr220000@cs1.utdallas.edu'
alias utdssh2='ssh edr220000@cs2.utdallas.edu'
alias codepathssh='ssh -p 5079 codepath@lab-8aabae24-60e9-483e-b626-dba43df50b93.eastus.cloudapp.azure.com'
alias hotspot='sudo sysctl net.ipv4.ip_default_ttl=65' alias hotspot='sudo sysctl net.ipv4.ip_default_ttl=65'
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh