How to debug SSHLauncher (due special characters in username)?

6 views
Skip to first unread message

Jason Pyeron

unread,
Apr 3, 2019, 6:52:51 PM4/3/19
to jenkins...@googlegroups.com
When I ssh from the bash prompt

ssh user\$@hostname all is well.

But when performed from Jenkins I get an invalid username message on the remote host.

I have read https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md and associated pages.

Where should I go from here?

v/r,

Jason Pyeron

Jason Pyeron

unread,
Apr 3, 2019, 10:57:57 PM4/3/19
to jenkins...@googlegroups.com
Red herring.

There was a space in front of the username, nothing to do with the $ at the end.
> --
> 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 jenkinsci-
> users+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-
> users/02d801d4ea6f%24f1c31370%24d5493a50%24%40pdinc.us.
> For more options, visit https://groups.google.com/d/optout.

Ivan Fernandez Calvo

unread,
Apr 4, 2019, 1:20:32 PM4/4/19
to Jenkins Users
so your user is something like ' username', IIRC the UI make a trim of the username so this first whitespace is deleted, I never saw a user that starts with whitespace, it is not a valid identifier


El jueves, 4 de abril de 2019, 4:57:57 (UTC+2), Jason Pyeron escribió:
Red herring.

There was a space in front of the username, nothing to do with the $ at the end.

> -----Original Message-----
> From: jenkins...@googlegroups.com <jenkins...@googlegroups.com> On Behalf Of Jason Pyeron
> Sent: Wednesday, April 3, 2019 6:53 PM
> To: jenkins...@googlegroups.com
> Subject: How to debug SSHLauncher (due special characters in username)?
>
> When I ssh from the bash prompt
>
> ssh user\$@hostname all is well.
>
> But when performed from Jenkins I get an invalid username message on the remote host.
>
> I have read https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md and
> associated pages.
>
> Where should I go from here?
>
> v/r,
>
> Jason Pyeron
>
> --
> 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 jenkinsci-
Reply all
Reply to author
Forward
0 new messages