• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-plugin
    • None

      Hello,

      I want to be able to use a parameterized build variable to inject the username in my ssh connection.

      $APPLICATION_USER = "test"
      $APPLICATION_USER @server would become test@server

      I already tried this, but failed. So I am guessing this feature is not yet implemented.

      There could be security problems, in production enviroment if you add a very risky server to manipulate and someone creating builds throws unsafe commands to the ssh server

      Thank you in advance.

          [JENKINS-30511] Enject variable into the ssh username

          Danny Bollaert created issue -
          Danny Bollaert made changes -
          Description Original: Hello,

          I want to be able to a parameterized build variable to inject the username in my ssh connection.

          $APPLICATION_USER = "test"
          $APPLICATION_USER @server would become test@server

          I already tried this, but failed. So I am guessing this feature is not yet implemented.


          Thank you in advance.
          New: Hello,

          I want to be able to use a parameterized build variable to inject the username in my ssh connection.

          $APPLICATION_USER = "test"
          $APPLICATION_USER @server would become test@server

          I already tried this, but failed. So I am guessing this feature is not yet implemented.


          Thank you in advance.
          Daniel Alejandro Hernández made changes -
          Description Original: Hello,

          I want to be able to use a parameterized build variable to inject the username in my ssh connection.

          $APPLICATION_USER = "test"
          $APPLICATION_USER @server would become test@server

          I already tried this, but failed. So I am guessing this feature is not yet implemented.


          Thank you in advance.
          New: Hello,

          I want to be able to use a parameterized build variable to inject the username in my ssh connection.

          $APPLICATION_USER = "test"
          $APPLICATION_USER @server would become test@server

          I already tried this, but failed. So I am guessing this feature is not yet implemented.


          There could be security problems, in production enviroment if you add a very risky server to manipulate and someone creating builds throws unsafe commands to the ssh server

          Thank you in advance.
          Daniel Alejandro Hernández made changes -
          Assignee New: Aaron Simmons [ paleozogt ]
          Daniel Alejandro Hernández made changes -
          Assignee Original: Aaron Simmons [ paleozogt ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165622 ] New: JNJira + In-Review [ 182058 ]

            Unassigned Unassigned
            dbollaer Danny Bollaert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: