Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6630

FIWARE.Request.Lab.Spain.ssh to docker-host

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi,

      we have account on Spain2 and we have launched fiware docker-host machine.
      It is now up and running ( view attached file).

      Now we would like to ssh on this host but:

      Could not resolve hostname 130.206.115.30:2376: Name or service not known

      Thank you

      Best regards

      <http://www.terasrl.it/> per firma posta

      ______________

      Lino Prunella

      Software Engineer

      <https://it.linkedin.com/in/giovanniriganti> linkedin
      <skype:g.riganti_grelettronica> skype <https://twitter.com/giovariga>
      twitter <https://www.facebook.com/giovanni.riganti> facebook

      ________

      TERA srl

      <https://it.linkedin.com/in/TERAsrl> linkedin <https://twitter.com/terasrl>
      twitter

      Via Cesare Balbo 19/D

      70014 Conversano

      T +39 080 2147775

      M +39 3357174081

      <nicola.prunella@terasrl.it> nicola.prunella@terasrl.it

      <http://www.terasrl.it/> www.terasrl.it

      [Created via e-mail received from: nicola.prunella@terasrl.it]

      1. fiware-docker.docx
        716 kB
        FW External User
      1. image001_01D1B1B322CE9000.png
        4 kB
      2. image002_01D1B1B322CE9000.jpg
        0.9 kB
      3. image003_01D1B1B322CE9000.png
        2 kB
      4. image004_01D1B1B322CE9000.png
        2 kB
      5. image005_01D1B1B322CE9000.jpg
        0.8 kB

        Activity

        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        The issue has been emailed:

        • Time sent: 20/May/16 8:59 AM
        • To: nicola.prunella@terasrl.it
        • with subject: *(HELP-6630) ssh to docker-host *

        Dear Lino,

        SSH doesn't work that way, I mean you can't ssh to a <host>:<port> – The correct sintax is ssh -p <port> <user>@<host>

        Regards,
        José Ignacio.

        Show
        jicg José Ignacio Carretero Guarde added a comment - The issue has been emailed: Time sent: 20/May/16 8:59 AM To: nicola.prunella@terasrl.it with subject: *( HELP-6630 ) ssh to docker-host * Dear Lino, SSH doesn't work that way, I mean you can't ssh to a <host>:<port> – The correct sintax is ssh -p <port> <user>@<host> Regards, José Ignacio.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :

        Hi Josè,

        i have checked again the connection but i have now:

        root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
        totale 40
        drwxrwxrwx 2 root root 4096 mag 18 17:23 ./
        drwx------ 3 root root 4096 mag 18 17:27 ../
        rw-rr- 1 root root 1029 mag 18 17:23 ca.pem
        rw-rr- 1 root root 1070 mag 18 17:23 cert.pem
        rw------ 1 root root 3271 mag 18 17:23 config.json
        rw------ 1 root root 1679 mag 18 17:18 id_rsa
        rw------ 1 root root 381 mag 18 17:18 id_rsa.pub
        rw------ 1 root root 1675 mag 18 17:23 key.pem
        r------- 1 root root 1675 mag 18 17:23 server-key.pem
        r------- 1 root root 1123 mag 18 17:23 server.pem
        root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem ubuntu@130.206.115.30
        Permission denied (publickey).root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem ubuntu@130.206.115.30
        Permission denied (publickey).

        I have also the same issue with putty( Convert your Keypair (.pem) to PPK with PuTTYgen)

        Thank you
        Best regards
        Nicola
        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: venerdì 20 maggio 2016 09:00
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-6630) ssh to docker-host

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        José Ignacio Carretero Guarde - Today 8:59 AM
        ------------------
        The issue has been emailed:

        • Time sent: 20/May/16 8:59 AM
        • To: nicola.prunella@terasrl.it
        • with subject: *(HELP-6630) ssh to docker-host *

        Dear Lino,

        SSH doesn't work that way, I mean you can't ssh to a <host>:<port> – The correct sintax is ssh -p <port> <user>@<host>

        Regards,
        José Ignacio.

        ------------------------
        Issue id: HELP-6630
        Description:

        Hi,

        we have account on Spain2 and we have launched fiware docker-host machine.
        It is now up and running ( view attached file).

        Now we would like to ssh on this host but:

        Could not resolve hostname 130.206.115.30:2376: Name or service not known

        Thank you

        Best regards

        <http://www.terasrl.it/> per firma posta

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi Josè, i have checked again the connection but i have now: root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll totale 40 drwxrwxrwx 2 root root 4096 mag 18 17:23 ./ drwx------ 3 root root 4096 mag 18 17:27 ../ rw-r r - 1 root root 1029 mag 18 17:23 ca.pem rw-r r - 1 root root 1070 mag 18 17:23 cert.pem rw ------ 1 root root 3271 mag 18 17:23 config.json rw ------ 1 root root 1679 mag 18 17:18 id_rsa rw ------ 1 root root 381 mag 18 17:18 id_rsa.pub rw ------ 1 root root 1675 mag 18 17:23 key.pem r ------- 1 root root 1675 mag 18 17:23 server-key.pem r ------- 1 root root 1123 mag 18 17:23 server.pem root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem ubuntu@130.206.115.30 Permission denied (publickey).root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem ubuntu@130.206.115.30 Permission denied (publickey). I have also the same issue with putty( Convert your Keypair (.pem) to PPK with PuTTYgen) Thank you Best regards Nicola ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: venerdì 20 maggio 2016 09:00 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-6630 ) ssh to docker-host From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: José Ignacio Carretero Guarde - Today 8:59 AM ------------------ The issue has been emailed: Time sent: 20/May/16 8:59 AM To: nicola.prunella@terasrl.it with subject: *( HELP-6630 ) ssh to docker-host * Dear Lino, SSH doesn't work that way, I mean you can't ssh to a <host>:<port> – The correct sintax is ssh -p <port> <user>@<host> Regards, José Ignacio. ------------------------ Issue id: HELP-6630 Description: Hi, we have account on Spain2 and we have launched fiware docker-host machine. It is now up and running ( view attached file). Now we would like to ssh on this host but: Could not resolve hostname 130.206.115.30:2376: Name or service not known Thank you Best regards < http://www.terasrl.it/ > per firma posta
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        The issue has been emailed:

        • Time sent: 20/May/16 10:25 AM
        • To: nicola.prunella@terasrl.it
        • with subject: *(HELP-6630) FIWARE.Request.Lab.Spain.ssh to docker-host *

        Hi,

        That usually happens when the private key is not the right one. Are you sure that the file is the right .pem file?

        Regards,
        José Ignacio.

        Show
        jicg José Ignacio Carretero Guarde added a comment - The issue has been emailed: Time sent: 20/May/16 10:25 AM To: nicola.prunella@terasrl.it with subject: *( HELP-6630 ) FIWARE.Request.Lab.Spain.ssh to docker-host * Hi, That usually happens when the private key is not the right one. Are you sure that the file is the right .pem file? Regards, José Ignacio.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by nicola.prunella@terasrl.it :

        Hi,

        root@formica-VirtualBox:/home/lprunella# docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
        Running pre-create checks...
        Creating machine...
        (docker-host) Creating machine...
        Waiting for machine to be running, this may take a few minutes...
        Detecting operating system of created instance...
        Waiting for SSH to be available...
        Detecting the provisioner...
        Provisioning with ubuntu(upstart)...
        Installing Docker...
        Copying certs to the local machine directory...
        Copying certs to the remote machine...
        Setting Docker configuration on the remote daemon...
        Checking connection to Docker...
        Docker is up and running!

        The .pem file has been created by docker-machine create procedure.

        ----Messaggio originale----
        Da: Help-Desk jira-help-desk@fi-ware.org
        Inviato: venerdì 20 maggio 2016 10:26
        A: nicola.prunella@terasrl.it
        Oggetto: [FIWARE-JIRA] (HELP-6630) FIWARE.Request.Lab.Spain.ssh to docker-host

        Hi,

        That usually happens when the private key is not the right one. Are you sure that the file is the right .pem file?

        Regards,
        José Ignacio.

        -------------------------------------------------------------------------------
        José Ignacio Carretero Guarde created HELP-6630:
        ---------------------------------------------------

        Summary: FIWARE.Request.Lab.Spain.ssh to docker-host
        Key: HELP-6630
        URL: https://jira.fiware.org/browse/HELP-6630
        Project: Help-Desk
        Issue Type: extRequest
        Components: FIWARE-LAB-HELP
        Reporter: FW External User
        Assignee: José Ignacio Carretero Guarde

        Hi,

        we have account on Spain2 and we have launched fiware docker-host machine.
        It is now up and running ( view attached file).

        Now we would like to ssh on this host but:

        Could not resolve hostname 130.206.115.30:2376: Name or service not known

        Thank you

        Best regards

        <http://www.terasrl.it/> per firma posta

        Show
        fw.ext.user FW External User added a comment - Comment by nicola.prunella@terasrl.it : Hi, root@formica-VirtualBox:/home/lprunella# docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host Running pre-create checks... Creating machine... (docker-host) Creating machine... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with ubuntu(upstart)... Installing Docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... Checking connection to Docker... Docker is up and running! The .pem file has been created by docker-machine create procedure. ---- Messaggio originale ---- Da: Help-Desk jira-help-desk@fi-ware.org Inviato: venerdì 20 maggio 2016 10:26 A: nicola.prunella@terasrl.it Oggetto: [FIWARE-JIRA] ( HELP-6630 ) FIWARE.Request.Lab.Spain.ssh to docker-host Hi, That usually happens when the private key is not the right one. Are you sure that the file is the right .pem file? Regards, José Ignacio. ------------------------------------------------------------------------------- José Ignacio Carretero Guarde created HELP-6630 : --------------------------------------------------- Summary: FIWARE.Request.Lab.Spain.ssh to docker-host Key: HELP-6630 URL: https://jira.fiware.org/browse/HELP-6630 Project: Help-Desk Issue Type: extRequest Components: FIWARE-LAB-HELP Reporter: FW External User Assignee: José Ignacio Carretero Guarde Hi, we have account on Spain2 and we have launched fiware docker-host machine. It is now up and running ( view attached file). Now we would like to ssh on this host but: Could not resolve hostname 130.206.115.30:2376: Name or service not known Thank you Best regards < http://www.terasrl.it/ > per firma posta

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: