[cs615asa] cs615 hw6
Jan Schaumann
jschauma at cs.stevens.edu
Mon Apr 25 12:50:01 EDT 2011
Pengfei Liu <pliu3 at stevens.edu> wrote:
> When we do "ec2-run-instances", we need to specify the keypair with flag
> "-k".
*You* may require this, but another user may not, depending on how they
set things up.
> Do we require the user to set "-k" in environment
> "EC2_RUN_INSTANCES_FLAGS" or we get it from ssh config file? Thank you!
You do not require anything from the user in this regard. If the user
needs to use the '-k' flag, than she can set it via the
EC2_RUN_INSTANCES_FLAGS environment variable.
You should not parse the user's ssh config file (and in fact that would
not be a reliable way for you to determine anything anyway, as you would
just make the assumption that whatever settings the user requires are
fixed in there).
-Jan
More information about the cs615asa
mailing list