Skip to content

Commit

Permalink
fix interactive ssh, add ssl to redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Jan 26, 2024
1 parent 8875198 commit 68b4aa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/traefik/dynamic_conf/anyway_redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ http:
middlewares:
- redirect-to-anyway
service: dummy-service
tls:
certResolver: letsencrypt

middlewares:
redirect-to-anyway:
Expand Down
2 changes: 1 addition & 1 deletion bin/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def ssh_init():
def ssh(*args, check_output=False):
hostname = ssh_init()
cmd = [
'ssh', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-o', 'IdentitiesOnly=yes',
'ssh', '-t', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-o', 'IdentitiesOnly=yes',
'-i', f'{ETC_DFC_DOCKER}/id_ed25519', f'ubuntu@{hostname}', *args
]
if check_output:
Expand Down

0 comments on commit 68b4aa9

Please sign in to comment.