Created
October 4, 2021 13:41
-
-
Save phcostabh/7e7f090f876a427ec13f8cf78b50d599 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -eux; | |
SERVER_IP=$1 | |
ssh "forge@${SERVER_IP}" 'mkdir -p /home/forge/api.chatfood.io/shared/storage/passport/' | |
ssh "forge@${SERVER_IP}" 'cat > /home/forge/api.chatfood.io/shared/storage/passport/oauth-private.key' <~/Documents/ChatFood/Passport_Keys/oauth-private.key | |
ssh "forge@${SERVER_IP}" 'cat > /home/forge/api.chatfood.io/shared/storage/passport/oauth-public.key' <~/Documents/ChatFood/Passport_Keys/oauth-public.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment