How to convert Linux Openssh key to Putty format?

Install putty-tools:

sudo apt-get install putty-tools

Then:

cd ~/.ssh/

puttygen id_rsa -o id_rsa.ppk

 

If we would like to convert the Putty format key to Openssh key:

  • To generate the private key follow this command:
puttygen id_dsa.ppk -O private-openssh -o id_dsa
  • To generate public key follow this command:
puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub 

 

Be sure that the permissions are set correctly for private and public key:

chmod 600 id_dsa
chmod 666 id_dsa.pub

 

 


How to use Object Storage?

Be sure that you are signed in.

Go to: https://cf2.cloudferro.com/auth/login/?next=/
Choose the project

 

 

Open the "Object Store" pane

 

 

Choose "Containers"

 

 

Click "+ Container" button

 

 

 

Give the container a name "eg. C-01"

 

 

If you want to make the container available outside of your project, check "Public" checkbox and click "Create" button

 

 

You can now enter the container by clicking on "C-01" button

 


To upload the files to the container, click the "Upload file" button

 

 

You can use "Browse" button to choose the file you want to upload from your file system

 


You can share the link to the uploaded object by clicking "link"

 


https://creodias.eu:8080/swift/v1/C-01/image-01.png

Now anybody who knows the link can download the object

 

 

You can add folders in the container and upload objects to the new folders

 


You can create subfolders as well
 

 

You can add more objects on various levels

 


How to create new VM in OpenStack dashboard (Horizon)?

 

Go to Compute -> Instances.


Click "Launch Instance".

Insert the name of the Instance (eg. "vm01") and click Next button.

Select Instance Boot Source (eg. "Image"), and choose desired image (eg. "Ubuntu 16.04 LTS mini 2017-09-01 (5.0 GB)") by clicking on arrow. We reccomend setting "Create New Volume" feature to "No" state.

Choose Flavour (eg. eo1.xsmall).

Click "Networking" and then choose desired networks.

Open "Security Groups" After that, choose "allow_ping_ssh_rdp" and "default".

Choose or generate SSH keypair for your VM. Next, launch your instance by clicking on blue button.

You will see "Instances" menu with your newly created VM. Open the drop-down menu and choose "Console".

Click on the black terminal area (to activate access to the console). Type: eoconsole and hit Enter.

Insert and retype new password.

Now you can type commands. After you finish, type "exit".

This will close the session.

 


How to make the machine available for several remote users?

Other users may either have separate accounts on the VM or share one account. The new account must be created using appropriate system command, e.g.

$ sudo useradd -m new_user_name

 

The new user must also have his ssh key defined:

$ sudo su new_user name
$ cd
$ mkdir .ssh
$ cat - >.ssh/authorized_keys

(paste user’s public key to the terminal)   <Ctrl-D>

$ chmod 600 .ssh/authorized_keys

 

If you want to allow two remote users to access a single account (or you are using several keys, e.g. from home and from office), just append the additional key at the end of .ssh/authorized_keys file, e.g.

$ cat - >>.ssh/authorized_keys

(paste additional key to the terminal)   <Ctrl-D>

 

Caution: it is easily possible to cut the branch you are sitting on: spoil the authorized_keys file so that you cannot log in anymore. It's better not to play with the only system account!


How to register to Portal?

Go to https://portal.creodias.eu

Select Account in the top right corner, it will navigate you to the screen, such as one hereunder:

 

Figure 1 - Creodias registering page

 

Fill out all the information required
Select the register button

 

Figure 2 - Bottom registering page

 

You will receive confirmation via e-mail, such as the one hereunder

 


 

You are now ready to delve into Creodias service