fix ssh key path

This commit is contained in:
fram3d 2024-01-17 14:35:06 +01:00
parent 9be97947b5
commit 702c8f7bf7
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
## Generate TLS certificate for a new subdomain
DMZKEYFILE="~/.ssh/dmz"
DMZKEYFILE=$(echo -n ~)"/.ssh/dmz"
NGINXHOST=$1
SUBDOMAIN=$2

View File

@ -1,7 +1,7 @@
#!/bin/bash
## Create new Linux contanier at a proxmox host
DMZKEYFILE="~/.ssh/dmz"
DMZKEYFILE=$(echo -n ~)"/.ssh/dmz"
PROXMOXHOST=$1
CTHOST=$2

View File

@ -1,7 +1,8 @@
#!/bin/bash
## Install luser.deb to remote host
DMZKEYFILE="/home/anon/.ssh/dmz"
DMZKEYFILE=$(echo -n ~)"/.ssh/dmz"
HOST="$1"
if [[ -z "$HOST" ]]; then