mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(aws/ec2): improve on metadata server commands, ssh connection
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Load keys from '${HOME}/.ssh' and add them to the agent
|
||||
eval $(ssh-agent) && ssh-add
|
||||
|
||||
# Connect
|
||||
ssh 'desktop.lan'
|
||||
ssh 'ec2-user@172.31.42.42' -i '.ssh/aws.key'
|
||||
|
||||
Reference in New Issue
Block a user