Implement initial SSH data retrieval

This commit is contained in:
2024-05-15 14:58:21 -04:00
parent 570e257f08
commit e4b9ca6c34
+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:")