2016-01-22, 21:41
(2016-01-22, 19:47)el_Paraguayo Wrote: OK. But at least we can see that it is failing. So that's progress!
Let's tweak the code slightly. Try this:
Code:from subprocess import check_output, CalledProcessError, STDOUT
try:
cmd = "echo password | sshfs -f -o allow_other -o password_stdin [email protected]:/ /media/ssh"
subproc = check_output(cmd, shell=True, stderr=STDOUT)
print "SSHFS executed successfully. Output: {}".format(subproc)
except CalledProcessError, e:
print "SSHFS execution failed. Output {}".format(e.output)
Code:
20:20:14 T:1550054320 NOTICE: SSHFS execution failed. Output FUSE library version: 2.9.3
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
Timeout waiting for prompt
Host key verification failed.
This is what i got. Then i copied the host key into the ssh_known_hosts file and now it works!
Thank you so much, el_Paraguayo, with your help i've found the issue (which, to be honest, could have been evitabile)