Bash - Run Remote Command on AWS EC2 Server

# Runs a remote command on the server authorized with your local key :' ssh -i {key} {user}@{ip} {commands} ' ssh -i /Path/To/Key.pem ec2-user@255.255.255.255 'ls -l'

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.