Create ssh credential over REST?

11 views
Skip to first unread message

Raymond Hwang

unread,
Dec 21, 2016, 11:54:13 AM12/21/16
to Jenkins Users
Hi,

I've been looking for a way to create a SSH username/private key credential over the REST API. Is it even possible? 

(ps I can't get the Jenkins CLI to work - I get java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A and I can't update Jenkins)...

Any help will be appreciated.

Thanks.

Daniel Beck

unread,
Dec 21, 2016, 5:01:15 PM12/21/16
to jenkins...@googlegroups.com

> On 21.12.2016, at 17:54, Raymond Hwang <watchme...@gmail.com> wrote:
>
> I get java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A and I can't update Jenkins

Isn't that JENKINS-23232, which has a workaround in the issue description?

Reply all
Reply to author
Forward
0 new messages