1

I'm using this tool to set up a ssh server on Windows. I'm trying to open the standard Python shell through a remote ssh connection but I simply can't get it to work. If I type 'python' in my ssh command line nothing happens, it just seems to wait for more input. My server machine however, shows a new python process running after I do this.

Running scripts works fine, though.

Do I need to use another Python shell, some other ssh server, some different configs?

Thanks

2 Answers 2

2

My guess is that Python is not recognising the stdin on the SSH shell as a terminal. I don't know why that would be.

However, try running "python -i" to overcome it.

Sign up to request clarification or add additional context in comments.

Comments

0

The problem is probably that you're running the Windows Python executable, which expects a Windows console environment to run in, over a channel which doesn't support the features of Windows console. You might find Andy Koppe's conin to be useful.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.