diff options
| author | m-chandler <mchandler89@gmail.com> | 2024-11-09 09:20:15 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-09 09:20:15 +1000 |
| commit | d31e4f88b1409f2325220cd483c03e6b9bce878f (patch) | |
| tree | 425b129470914ee341655021c2034ff9476af27a /readme.md | |
| parent | 11bdeb09d654abe2e4daa66c4315b6dc982564e6 (diff) | |
| parent | 216c660cd1a1fcbd189880548c33f7846542698e (diff) | |
Merge pull request #43 from Isaac-T-Hill/optional-ssh-keys
Add optional argument for ssh key path in utils
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -69,6 +69,12 @@ Use the automation in `util/upload-save.bash` to upload your save file to your s bash util/upload-save.bash ~/path/to/my/save.zip $your_ec2_ip_or_remote_name
```
+Optionally, you can specify a path to a private key with a bash variable rather than relying on default ssh keys.
+
+``` bash
+FACTORIO_PEM=~/path/to/my.pem bash util/upload-save.bash ~/path/to/my/save.zip $your_ec2_ip_or_remote_name
+```
+
This is just an automated implementation of the slower version below.
##### Fast save download (Recommended)
@@ -79,6 +85,12 @@ Use the automation in `util/download-latest-save.bash` to download the latest (m bash util/download-latest-save.bash $your_ec2_ip_or_remote_name
```
+Optionally, you can specify a path to a private key with a bash variable rather than relying on default ssh keys.
+
+``` bash
+FACTORIO_PEM=~/path/to/my.pem bash util/download-latest-save.bash $your_ec2_ip_or_remote_name
+```
+
Your server needs to be running for this to work and it should download your latest save to your local directory.
##### Manual upload process (for understanding the system)
|
