Add TODO
This commit is contained in:
parent
dc02c4cae2
commit
72b0ff1fe7
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
|||
|
||||
fun loginActivity() {
|
||||
var usernameDetail = loginField.text
|
||||
var passwordDetail = passField.text
|
||||
var passwordDetail = passField.text //TODO: Hash this ples
|
||||
var serverDetail = serverField.text
|
||||
var remoteCommand = "echo hello"
|
||||
// For windows, instead of ssh pass?? https://github.com/PowerShell/Win32-OpenSSH/issues/1943
|
||||
//TODO: For windows, instead of ssh pass?? https://github.com/PowerShell/Win32-OpenSSH/issues/1943 and https://github.com/winfsp/sshfs-win for sshfs?
|
||||
val loginProcess = ProcessBuilder(
|
||||
"sshpass", "-p", "$passwordDetail", "ssh", "$usernameDetail@$serverDetail", remoteCommand)
|
||||
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
||||
|
|
Loading…
Reference in a new issue