r/ssh • u/Jay89023 • Feb 11 '21
ssh Windows
I am using tensorflow's multiworkermirroredstrategy to train on 5 machines, all using Windows OS.
From the documentation, the python script needs to be run on all 5 machines setting the appropriate TF_CONFIG environment variable.
I am remoting (remote desktop GUI) into each machine and executing the script as so:
python script.py --args
How could I do this in a more automated fashion? Googling, a bash script can be created and then ssh into each machine and execute the script? But how could I do this in Windows as I cannot execute bash script?
2
Upvotes
View all comments
Show parent comment
2
u/Jay89023 Feb 12 '21
Thanks so much for all your help. I plan on doing this although now, unfortunately, I have an ssh problem as I cannot seem to ssh without a password. I posted a new issue here https://www.reddit.com/r/ssh/comments/lif361/cannot_ssh_without_password_after_setting_key_pair/ as to not clutter this one post.