If || thenĮcho "Datomic system $SYSTEM not found, make sure your system name and AWS creds are correct." S3=`aws resourcegroupstaggingapi get-resources $REGION_ARG -resource-type-filters s3 -tag-filters Key=datomic:system,Values=$SYSTEM -query ResourceTagMappingList.ResourceARN -output text $PROFILE_COMMAND | sed -e 's/.*/g'` The script I am using looks like this: #!/bin/bashĮcho "Usage: $0 (-p aws-profile)? (-r aws-region)? (-port socks-port)? system-name" OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n ĭebug1: Connecting to 18.203.251.17 port 22.ĭebug1: key_load_public: No such file or directoryĭebug1: identity file /home/johan/.ssh/datomic–-bastion type -1ĭebug1: identity file /home/johan/.ssh/datomic– -bastion-cert type -1ĭebug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3ĭebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4ĭebug1: match: OpenSSH_7.4 pat OpenSSH compat 0x04000000ĭebug1: Authenticating to 18.203.251.17:22 as ‘ec2-user’ĭebug1: kex: algorithm: curve25519-sha256ĭebug1: kex: host key algorithm: ecdsa-sha2-nistp256ĭebug1: kex: server->client cipher: chacha20-poly1305 MAC: compression: zlib kex: client->server cipher: chacha20-poly1305 MAC: compression: zlib expecting SSH2_MSG_KEX_ECDH_REPLYĭebug1: Server host key: ecdsa-sha2-nistp256 SHA256: / It works on my windows and osx machine but not on the ubuntu 18.04 since it gets stuck.ĭownload: s3/ //datomic/access/private-keys/bastion to …/…/.ssh/datomic– -bastion I have a script which creates an ssh tunnel towards a ec2 node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |