Commit 5be84216 by tarokkk

laborgui: Fixed HostKeyCheck

parent 7cb6ad52
...@@ -154,7 +154,7 @@ class Browser: ...@@ -154,7 +154,7 @@ class Browser:
os.makedirs(self.folder, 0644) os.makedirs(self.folder, 0644)
except: except:
pass pass
result = subprocess.call(['/usr/bin/sshfs', '-o', 'IdentityFile='+self.private_key_file, neptun+"@"+host+":home", self.folder]) result = subprocess.call(['/usr/bin/sshfs', '-o', 'IdentityFile='+self.private_key_file+',StrictHostKeyChecking=no', neptun+"@"+host+":home", self.folder])
#print result #print result
def umount_sshfs_folder(self): def umount_sshfs_folder(self):
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment