aws_deploy_ssh_to_ec2: Deploy a public SSH key to an AWS EC2 instance.

Description Usage Arguments See Also Examples

View source: R/connect.R

Description

Checks if a keypair with a name compiled from the credential_section and the prefix "ScrapeBotR" (e.g., "ScrapeBotR AWS") exists. If not, creates a new keypair and imports the public SSH key as provided in write_aws_credentials().

Usage

1
aws_deploy_ssh_to_ec2(aws_connection)

Arguments

aws_connection

AWS connection object, as retrieved from connect_aws().

See Also

connect_aws()

Examples

1
2
3
4
5
## Not run: 

aws_deploy_ssh_to_ec2(aws_connection)

## End(Not run)

MarHai/ScrapeBotR documentation built on March 10, 2021, 10:10 a.m.