mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-05 16:47:20 -04:00
Implement initial SSH data retrieval
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ func TempInitCli() {
|
|||||||
// client device ID
|
// client device ID
|
||||||
deviceIDPrefix, _ := os.Hostname()
|
deviceIDPrefix, _ := os.Hostname()
|
||||||
deviceIDSuffix := backend.StringGen(rand.Intn(48)+48, true, 0.2)
|
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
|
// necessary SSH info
|
||||||
sshUser := input("Remote SSH username:")
|
sshUser := input("Remote SSH username:")
|
||||||
|
|||||||
Reference in New Issue
Block a user