diff --git a/gitlib/gitlib.py b/gitlib/gitlib.py index c97bc99..8f5d3f8 100755 --- a/gitlib/gitlib.py +++ b/gitlib/gitlib.py @@ -187,6 +187,11 @@ class OpengnsysGitLibrary: self.logger.setLevel(logging.DEBUG) self.logger.debug(f"Initializing. Cache = {require_cache}, ntfs = {ntfs_implementation}") + self.logger.debug("Ensuring SSH can't ask for passwords on the console") + os.environ["SSH_ASKPASS_REQUIRE"] = "force" + os.environ["SSH_ASKPASS"] = "/bin/false" + + self.fs = FilesystemLibrary(ntfs_implementation = ntfs_implementation) self.disk = DiskLibrary() #self.ntfs = NTFSLibrary()