QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: lomarcus on June 15, 2021, 10:42

Title: remote execution of QuantumATK scripts for Windows
Post by: lomarcus on June 15, 2021, 10:42
Hi everyone,

I am recently trying to setup remote execution of QuantumATK scripts within two Windows computers. However, I've faced some problems while setting up the remote machine. It says that a bash shell binary does not exit on the server in the Diagnostics in Machine Settings. Although I tried to install bash from Windows Subsystem for Linux package and Ubuntu on my server computer,  it stills doesn't work.

Could anyone teaches me more about this, or suggested me any other method to get thru this problem?

Thanks in advance for any help.

-----------------------------------------------------------------------------------------
After some investigation, I found that it is the problem of Default shell of OpenSSH.
Title: Re: remote execution of QuantumATK scripts for Windows
Post by: Anders Blom on August 31, 2021, 21:37
I have never tried this on Windows. I think you have the right idea to use the OpenSSH client/server in Windows 10, and the yes, we require bash as the shell (perhaps not mentioned in the manual).

I would have thought OpenSSH handles file copy requests via "scp" protocol but maybe it needs sftp-server started as a service for that to work? I have some trouble installing OpenSSH on my machine, but once I do I can test a few things.
Title: Re: remote execution of QuantumATK scripts for Windows
Post by: Anders Blom on September 21, 2021, 07:39
Maybe the error is more related to the directories into which the files are copied? There is no direct error message in what you showed indicating the sftp-server is not working, but maybe the default directory where the copy operation goes to is not the "home" directory that the machine manager references...? I'm mostly guessing though, I am not able to install a full Linux subsystem for testing.

Are there further messages in the log file that could help or is that the end of it?

Are you able to copy any files from the machine to itself, using "scp" from the Powershell bash command line?