Issue
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.
These were the steps that I followed.
On my remote server :
jupyter notebook --no-browser --port=8889
Then on my local machine
ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.gyan.com
But I am getting an error
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?
Solution
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;
Answered By - Manfred
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.