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-