mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
9 lines
181 B
Bash
9 lines
181 B
Bash
#!/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'
|