[cs615asa] Do we have to generate a new key pair

Avineshwar Singh asingh16 at stevens.edu
Sat Apr 9 19:15:56 EDT 2016


This is a pretty close depiction of what our script's behaviour should be.

[image: Inline images 2]



On 9 April 2016 at 18:46, Avineshwar Singh <asingh16 at stevens.edu> wrote:

> I'm not sure what method you're following, however, if the key variable
> can't be grabbed, generate the key and do everything. That's the way. At
> the end, it's on you whether you want to maintain the intermediate
> creations (key, sg, et cetera) or remove. Volume is the end product.
> Minimum hassle post the correct end product is something I believe in
> achieving.
> On Apr 9, 2016 17:43, "Ruiliang Hong" <rhong1 at stevens.edu> wrote:
>
> What about the private keys inside the /.ssh/config file? If the
> environment variable is empty, should we get the key from /.ssh/config ?
>
> On Sat, Apr 9, 2016 at 3:56 PM, Avineshwar Singh <asingh16 at stevens.edu>
> wrote:
>
>> An environment variable can point to one file.
>> On Apr 9, 2016 15:55, "Ruiliang Hong" <rhong1 at stevens.edu> wrote:
>>
>>> What if there are multiple private keys in config file? How do we
>>> specify the exact key for creating ec2 instance?
>>>
>>> Thanks.
>>>
>>> On Sat, Apr 9, 2016 at 3:43 PM, Avineshwar Singh <asingh16 at stevens.edu>
>>> wrote:
>>>
>>>> Create when empty else grab and use (however,  it has to be in a
>>>> standard format to which a user has to comply, like: ~/.ssh/anykeyname)
>>>> On Apr 9, 2016 15:33, "Ruiliang Hong" <rhong1 at stevens.edu> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> How can we identify the private key in the ~/.ssh/config file? Or
>>>>> should we create a new key pair when EC2_BACKUP_FLAGS_SSH is empty?
>>>>>
>>>>> Ruiliang
>>>>>
>>>>> _______________________________________________
>>>>> cs615asa mailing list
>>>>> cs615asa at lists.stevens.edu
>>>>> https://lists.stevens.edu/mailman/listinfo/cs615asa
>>>>>
>>>>>
>>>> _______________________________________________
>>>> cs615asa mailing list
>>>> cs615asa at lists.stevens.edu
>>>> https://lists.stevens.edu/mailman/listinfo/cs615asa
>>>>
>>>>
>>>
>>> _______________________________________________
>>> cs615asa mailing list
>>> cs615asa at lists.stevens.edu
>>> https://lists.stevens.edu/mailman/listinfo/cs615asa
>>>
>>>
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/mailman/listinfo/cs615asa
>>
>>
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
>


-- 



Student,
Avineshwar Pratap Singh,
MS (in CyberSecurity),
Stevens Institute of Technology

[+] Add me to your address book
<https://ws.evercontact.com/kwaga-bin/titan/WEB/me.pl/4177400521440368238/i>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20160409/d1afa805/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38481 bytes
Desc: not available
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20160409/d1afa805/attachment-0001.png>


More information about the cs615asa mailing list