Browse Source

[ssh] Resolve conflicts

Colin Powell 3 days ago
parent
commit
32f00d6785
2 changed files with 9 additions and 15 deletions
  1. 2 0
      bash/.aliases
  2. 7 15
      ssh/.ssh/config

+ 2 - 0
bash/.aliases

@@ -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 {} +"

+ 7 - 15
ssh/.ssh/config

@@ -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
-  User root
-  IdentityFile ~/.ssh/jails
-  Hostname %h
-  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
+#Match exec "onsubnet --not 192.168.40." host *.service
+#  User root
+#  IdentityFile ~/.ssh/jails
+#  Hostname %h
+#  ProxyJump bastion.unbl.ink