CreateProcessW失败错误:2 ssh_askpass:posix_spawn:没有此类文件或目录主机密钥验证失败,远程服务器上的jupyter笔记本 [英] CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed, jupyter notebook on remote server
问题描述
所以我正在按照教程进行连接在我的远程服务器上运行的jupyter笔记本,以便我可以在本地Windows机器上访问它.
So I was following a tutorial to connect to my jupyter notebook which is running on my remote server so that I can access it on my local windows machine.
这些是我遵循的步骤.
在我的远程服务器上:
jupyter notebook --no-browser --port=8889
然后在我的本地计算机上
Then on my local machine
ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.bosch.com
但是我遇到了错误
CreateProcessW failed error:2
ssh_askpass: posix_spawn: No such file or directory
Host key verification failed.
我该如何解决?还是有其他方法可以实现相同目标?
How do I resolve this? Or is there is any other way to achieve the same?
推荐答案
如果因为要在Windows 10中使用VcXsrc或其他X服务器而需要DISPLAY变量集,则解决方法是添加要连接的主机您的known_hosts文件. 可以通过调用
If you need the DISPLAY variable set because you want to use VcXsrc or another X-Server in Windows 10 the workaround is to add the host you want to connect to your known_hosts file. This can be done by calling
ssh-keyscan -t rsa host.example.com | Out-File ~/.ssh/known_hosts -Append -Encoding ASCII;
这篇关于CreateProcessW失败错误:2 ssh_askpass:posix_spawn:没有此类文件或目录主机密钥验证失败,远程服务器上的jupyter笔记本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!