I'm thinking of putting the search engine for shogi software on AWS.
I have used the following procedure as a reference.
https://www.mikunimaru.com/entry/ShogiAWS
I followed the procedure and confirmed that the instance was working as described.
However, the batch file does not work as expected in the verification location.
Batch file you are trying to run
@echo off
setlocal
cd/d% to dp0
ssh-i key.pemec2-user@■■■■cd./engine;./YaneuraOu-AVX2
pause
Follow the instructions
I rewritten 」■■■■ 書き to the public DNS of the instance where I created it and put the private key under the name kkey.pem 」 in the same folder as the batch file and ran it.
Then,
Warning: Identity file key.pem not accessible: No such file or directory.
The warning above appears (except for warning, it matched the instructions in the procedure).
As you can see in the answers to similar questions in the past, I rewritten the ssh command to describe the full path of the private key file below, but the situation remained the same.
(↓Past Questions)
I want to log in to an instance in AWS with SSH
I have no knowledge, I don't know the root cause, and I haven't solved it.
If you don't mind, please let me know.
aws ssh amazon-ec2 batch-file
They say that the file is missing.
Check if the file path is correct.
Then try running the ssh command from a command prompt instead of running it in a batch file.
© 2024 OneMinuteCode. All rights reserved.