Implement initial SSH data retrieval

This commit is contained in:
2024-05-15 14:58:21 -04:00
parent f86c2d8153
commit 5e83178046
2 changed files with 118 additions and 15 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func TempInitCli() {
// client device ID
deviceIDPrefix, _ := os.Hostname()
deviceIDSuffix := backend.StringGen(rand.Intn(48)+48, true, 0.2)
deviceID := deviceIDPrefix + "-" + deviceIDSuffix // TODO do not save in config file, encrypt in config directory
deviceID := deviceIDPrefix + "-" + deviceIDSuffix
// necessary SSH info
sshUser := input("Remote SSH username:")