Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote ssh server first connection error #110

Open
m-planck opened this issue Sep 29, 2020 · 2 comments
Open

Remote ssh server first connection error #110

m-planck opened this issue Sep 29, 2020 · 2 comments

Comments

@m-planck
Copy link
Contributor

m-planck commented Sep 29, 2020

Connecting the first time with a windows machine to a remote ssh server within the MCX studio will result in a deadlock.
The server will respond with the usual add fingerprint dialog awaiting input, but commands entered in the user input box of MCX Studio will not be recognized by remote terminal. This results in a deadlock, MCX studio will no longer respond.

Prompt:
"If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)"

Solution:
Open cmd and paste the pwlink command, e.g. "plink -pw ### -ssh user@## -P ## mcx -L". Add the key to your cache and you no longer get the message. Next you see the remote output in MCX Studio. If mcx is not found on the remote machine, add it to path variable. Force close MCX studio and try again. Now you get the next error message

"-- Executing Simulation --"
MCX ERROR(-2):can not load the specified config file in unit mcx_utils.c:1074
"-- Task completed --"

At least the pwlink is working

@fangq
Copy link
Owner

fangq commented Sep 29, 2020

you can type "y" in the box named "Command input" and click on "Send". I think I might have shown this in this video tutorial

http://mcx.space/wiki/index.cgi?Demo/MCXStudio#Lesson_3_Run_MCX_simulations_on_a_remote_GPU_server_13_minutes

can you try that?

@m-planck
Copy link
Contributor Author

As explained, if I try to do input in the command input box and click send, the string is copied to the output log. But nothings happening. If you press several times enter only a new line appears in the log. I think the string is never sent. Maybe the string is not terminated right. CRLF vs LF vs NL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants