[cs615asa] HW3 - Specifying a keypair
Rob Hoffmann
rhoffman at stevens.edu
Thu Mar 1 22:02:34 EST 2012
As a followup to this, the ec2-backup man page does not have a reference
to an environment variable. How should one specify the identity file
used for SSH?
-Rob
On 3/1/2012 9:53 PM, Jan Schaumann wrote:
> Michael Hegadorn<mhegador at stevens.edu> wrote:
>
>> Should the ec2-start-instance also take a -k option to specify the keypair
>> to be used? This would be passed along to ec2-run-instances as the same -k
>> option.
>>
>> If this isn't specified in ec2-run-instances, how does one connect via SSH
>> after the instance starts?
> It is common practice for unix tools to react to or honor certain
> variables in their environment to allow a user to influence their
> execution outside of the explicit options given.
>
> See the manual page for ec2-run-instances, section ENVIRONMENT:
>
> ec2-start-instance allows the user to add custom flags to the
> ec2-run-instances(1) command via the EC2_RUN_INSTANCES_FLAGS environment
> variable. If this variable is not set, ec2-start-instance will not
> append any flags to the command besides -a ami.
>
> -Jan
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
More information about the cs615asa
mailing list