Prechádzať zdrojové kódy

Use FQDN for gandalf

David Witham 4 rokov pred
rodič
commit
03acca5c0b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      backup_to_server.psm1

+ 1 - 1
backup_to_server.psm1

@@ -76,7 +76,7 @@ function backup_to_server {
 
         # Config file
         $config_file = Join-Path $env:TEMP backup_script.txt
-        Set-Content $config_file "open sftp://bethany@gandalf/ -hostkey=""ssh-ed25519 256 unhOA2cFNFx/xmUsqSihnsnEimflWnma9wJMVH2Enuc"" -privatekey=""$key_file"""
+        Set-Content $config_file "open sftp://bethany@gandalf.acosi.lan/ -hostkey=""ssh-ed25519 256 unhOA2cFNFx/xmUsqSihnsnEimflWnma9wJMVH2Enuc"" -privatekey=""$key_file"""
         Add-Content $config_file "option batch continue"
         
         # Sync to server