![]() ![]() ![]() ![]() # send the webapp a textual progress update # run a command and wait for it to finish (rver, username=er, password=)Ĭan launch a thread checking every minute your mailbox.Ĭt_missing_host_key_policy(AutoAddPolicy())Ĭnnect(str(()), username=str(()), password=str(()))Įxcept SSHException: qApp.instance().showErrorMessage("Error", "The ssh session could not be established")Įxcept AuthenticationException: qApp.instance().showErrorMessage("Error","Authentication failed")Įxcept BadHostKeyException: qApp.instance().showErrorMessage("Error", "the server's host key could not be verified") _missing_host_key_policy(AutoAddPolicy()) Stdin, stdout, stderr = _command("sudo /home/fisk/Projects/sshs/sshs open /media/fisk/ARCHIVE1/Safe/onOLEcNsojuin.bin -key /media/fisk/ARCHIVE1/safe.keyfile") Stdin, stdout, stderr = _command("sudo /home/fisk/Projects/sshs/sshs close") Input("Check volume mount then press enter") = getpass.getpass("Password for \"fisk\" on the remote host:") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |