[ssh] Resolve conflicts
This commit is contained in:
@ -32,3 +32,5 @@ alias tok="docker compose run --rm --no-deps django ./manage.py gen_jwt data/dev
|
|||||||
alias pre="test && cov && lint"
|
alias pre="test && cov && lint"
|
||||||
alias sdkfix="ruff format . && ruff check --fix ."
|
alias sdkfix="ruff format . && ruff check --fix ."
|
||||||
alias mmlocalbuild="poetry run pip install --extra-index-url https://us-central1-python.pkg.dev/mmllc-dev/python/simple/ -r dev-requirements.txt"
|
alias mmlocalbuild="poetry run pip install --extra-index-url https://us-central1-python.pkg.dev/mmllc-dev/python/simple/ -r dev-requirements.txt"
|
||||||
|
alias sweep_movies="sudo find /tank/videos/incoming -type f \( -iname '*.mp4' -o -iname '*.mkv' \) ! -iname '*sample*' -exec mv {} /tank/videos/movies/ \;"
|
||||||
|
alias clear_incoming="sudo find /tank/videos/incoming -type d -maxdepth 1 -mindepth 1 ! -name '.stfolder' -exec rm -rf {} +"
|
||||||
|
|||||||
@ -94,22 +94,14 @@ Host bastion.service
|
|||||||
Port 33
|
Port 33
|
||||||
|
|
||||||
## Jail hosts all need a jump
|
## Jail hosts all need a jump
|
||||||
Match exec "onsubnet 192.168.40." host *.service
|
#Match exec "onsubnet 192.168.40." host *.service
|
||||||
|
Host *.service
|
||||||
User root
|
User root
|
||||||
IdentityFile ~/.ssh/jails
|
IdentityFile ~/.ssh/jails
|
||||||
Hostname %h
|
Hostname %h
|
||||||
|
|
||||||
Match exec "onsubnet --not 192.168.40." host *.service
|
#Match exec "onsubnet --not 192.168.40." host *.service
|
||||||
User root
|
# User root
|
||||||
IdentityFile ~/.ssh/jails
|
# IdentityFile ~/.ssh/jails
|
||||||
Hostname %h
|
# Hostname %h
|
||||||
ProxyJump bastion.unbl.ink
|
# ProxyJump bastion.unbl.ink
|
||||||
|
|
||||||
|
|
||||||
Host mmpay-bastion.mmstage.dev
|
|
||||||
ForwardAgent yes
|
|
||||||
Hostname mmpay-bastion.mmstage.dev
|
|
||||||
ProxyCommand /opt/homebrew/bin/cloudflared access ssh --hostname %h
|
|
||||||
|
|
||||||
Host devstage-mmpay-0*
|
|
||||||
ProxyJump mmpay-bastion.mmstage.dev
|
|
||||||
|
|||||||
Reference in New Issue
Block a user