Stop ssh from asking for a password on the terminal.
Auth has to work through SSH keys always.ogrepository-fixes
parent
ac280fbdce
commit
6a904ee7eb
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue