Skip to content

requesting access for test-requireio-osx1010-x64-1 #752

Closed

Description

@Trott

I would like to be able to access test-requireio-osx1010-x64-1 so I can test some things in the hopes of identifying the problem in nodejs/node#13527.

My public ssh keys can be found at https://github.com/Trott.keys

Activity

  1. gibfahn commented on Jun 9, 2017

    @gibfahn
    Member

    SGTM

  2. gibfahn commented on Jun 10, 2017

    @gibfahn
    Member

    @Trott would you mind PRing the update to the inventory if you've got things working?

    I understand from IRC that you've got the IP and the keys, you just need the user (which I assume will be root).

  3. Trott commented on Jun 10, 2017

    @Trott
    MemberAuthor

    I understand from IRC that you've got the IP and the keys, you just need the user (which I assume will be root).

    root was my guess too but alas no...(or I have something else set up wrong)

  4. gibfahn commented on Jun 10, 2017

    @gibfahn
    Member

    root was my guess too but alas no...(or I have something else set up wrong)

    How did you get the IP address?

    @jbergstroem in general how do we get the IP of a machine?

  5. rvagg commented on Jun 10, 2017

    @rvagg
    Member

    @Trott it's not straightforward but this should get you in:

    Host jump-nodejs-arm
      User jump
      HostName vagg-arm.nodejs.org
      Port 2222
      IdentityFile ~/.ssh/nodejs_build_test
    Host test-requireio-osx1010-x64-1
      HostName 192.168.2.210
      ProxyCommand ssh jump-nodejs-arm nc -q0 %h %p
      User iojs
      IdentityFile ~/.ssh/nodejs_build_test
    
  6. rvagg commented on Jun 10, 2017

    @rvagg
    Member

    sorry, that's for your .ssh/config

  7. jbergstroem commented on Jun 10, 2017

    @jbergstroem
    Member

    @gibfahn all machines should live in our inventory. This one doesn't.

  8. gibfahn commented on Jun 10, 2017

    @gibfahn
    Member

    @gibfahn all machines should live in our inventory. This one doesn't.

    Yeah, I meant how do we get the IP to add to the inventory. Using one of these from the Script Console does seem to work, but of course it gave 192.168.2.210, which I assumed was wrong (didn't think of the jump box).

    println InetAddress.localHost.canonicalHostName
    // or
    println InetAddress.localHost.hostAddress
  9. gibfahn commented on Jun 10, 2017

    @gibfahn
    Member

    Followon question, at the moment the generated ~/.ssh/config entries that use the jumpbox are of the form:

    Host test-requireio_louiscntr-debian7-arm_pi2-1 
      HostName 192.168.2.68
      IdentityFile ~/.ssh/nodejs_build_test
      User pi
      ProxyCommand ssh -i ~/.ssh/nodejs_build_test -W %h:%p -p 2222 jump@vagg-arm.nodejs.org
    

    The one @rvagg just posted seems like a nicer way to write it, could we convert the inventory ansible script to write configs like that? I'm happy to do the work if it's possible.

  10. Trott commented on Jun 11, 2017

    @Trott
    MemberAuthor

    Thanks, @rvagg. That worked.

  11. rvagg commented on Jun 12, 2017

    @rvagg
    Member

    @gibfahn I don't mind either way. The one you pasted doesn't require the parent Host entry though so perhaps it's nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions