Is it possible to SCP files between two VMs, using cloud images, via heat?

Asked by Aqsa Malik

If there are two instances created via heat using ubuntu cloud image. Is it possible to SCP files from one instance to another. As the ssh to any instance requires the private key instead of passwords or public keys.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu heat Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Then make the keypairs available to both systems. If you use ssh-agent it will be handled for you

Revision history for this message
Aqsa Malik (aqsamm) said :
#2

I meant can you SCP through the heat bash script within the same heat template? If yes, which parameters should be given to it?

Can you help with this problem?

Provide an answer of your own, or ask Aqsa Malik for more information if necessary.

To post a message you must log in.