[Additional Information] Reading this commit's <https://github.com/jenkinsci/publish-over-ssh-plugin/commit/468afbd097e79152a07686b7377179c566a2a4f7> message, and looking at the diff, it seems to suggest that one should configure these 'jump hosts' outside of the job configuration (e.g. under Manage Jenkins > Configure System), but the credentials entered there never seem to be available in the job (I always seem to need to configure them directly in the job configuration, in the 'Advanced' area of a *Send files or execute commands over SSH* build step).
--RG On Wednesday, August 23, 2017 at 9:55:25 AM UTC-7, robert.glenn wrote: > > I’m attempting to use the Publish Over SSH plugin to tunnel from Jenkins, > through a (publicly facing, in AWS) Bastion Host, into a (private, in > AWS) application server. > > Some additional information: > > - I can tunnel to my private app server, locally, after using the ssh-add > -K mysecret.pem, and running ssh -A ec2-user@<my bastion ip> and then ssh > ubuntu@<my private server ip> > - Currently, the ssh key is shared across Bastion Host and private app > server, but likely wouldn’t be in the future > - I’m attempting to use the “Jump host” section to define the ip > address of the Bastion Host, and filling out the required sections (Name, > Hostname, Remote Directory) for the application server > > Some potential sources of problem: > > - My Bastion Host has a default user of ‘ec2-user’, whereas my > application server’s default user is ‘ubuntu’, but there doesn’t seem to > be > a way to configure a different user for a “jump host” > > Any suggestions you can provide are greatly appreciated. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/48d9ec5b-7c70-4fbb-ab95-11e012cbef32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
