-
Notifications
You must be signed in to change notification settings - Fork 1
2.1 SCP connection
Pieter van Leeuwen edited this page May 5, 2015
·
7 revisions
If you want to upload your Springfield Multiscreen Toolkit application to your Amazon instance you can use SCP to do this by following this tutorial combined with the information about your instance provided to you by Noterik.
- Download and install WinSCP from their website.
- Download and install PuTTY from their website. Make sure you install the complete suite by getting the complete zip file or the windows installer.
You’ll need to convert the provided amazon key file (*.pem) to a format that is supported by PuTTY (*.ppk).
- Open PuTTYgen, your screen should look similar to this
- Under Parameters, Type of key to generate select SSH-2 RSA
- Click on Load. Make sure you select All Files (*.*) to be able to see and select the provided *.pem file.
- Select the provided *.pem file and click open. Click OK on the confirmation box.
- Now save your key by clicking on Save private key. This key has to be used to connect both PuTTY as WinSCP to your Amazon instance, so save it in a convenient place.
- Note: you will be asked if you want to protect your key with a passphrase. This step is optional but will make your key file more secure as the key file can’t be used without the passphrase.
- Open WinSCP, your screen should look similar to this
- Enter the provided Amazon instance address in the field Host name
- Enter the username ubuntu in the User name field.
- Next click Advanced.
- A new window will appear. Select in the left navigation menu under Environment the subcategory Directories
-
Enter the following directory under Remote directory
/springfield/lou/uploaddir
- Next select in the navigation menu under SSH the subcategory Authentication
- Under Private key file select the ... button to browse for your key file
- Select the *.ppk file you have created and saved in the earlier steps. Next click Open.
- You can now leave this window by clicking OK
- We are going to save these settings in a session so you don’t have to enter them every time you want to connect. To do so click Save
- Give this session a name and click OK to save the settings.
- Now you are ready to connect to your Amazon instance. Press Login to connect.
- The first time you connect you will see the following message. You can click Yes
- You have now successfully connected to your Amazon instance.
- You can now start to upload your Springfield Multiscreen Toolkit applications.
- Open Cyberduck, your screen should look similar to this
- Click on New connection
- A new window will appear
- Select SFTP as protocol
- Enter in the Server field the provided Amazon instance address.
- Enter as user the name ubuntu
-
Enter the following path under Path
/springfield/lou/uploaddir
- Select the checkbox Use Public Key authentication
- A new window will allow you to select the provided *.pem key file.
- Click Connect
- The first time you connect you will see a message, click Allow.
- You have now successfully connected to your Amazon instance.
- You can now start to upload your Springfield Multiscreen Toolkit applications.