[JIRA] (JENKINS-45650) CLI known_hosts support fails on non-standard SSH ports

5 views
Skip to first unread message

zeton3@gmail.com (JIRA)

unread,
Mar 27, 2018, 3:53:02 AM3/27/18
to jenkinsc...@googlegroups.com
Seba Pien commented on Bug JENKINS-45650
 
Re: CLI known_hosts support fails on non-standard SSH ports

Hi

 

I'm using Jenkins ver 2.107.1 and this issue is still present.

 

/Seba

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

lopez.sam@gmail.com (JIRA)

unread,
Aug 9, 2018, 10:56:02 AM8/9/18
to jenkinsc...@googlegroups.com

Hello Folks,

 

We are seeing this issue as well on:

Jenkins 2.121.1

Running on  Ubuntu 16.04

SSH Plugin 2.6.1

 

/Sam

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

g.sironi@elifesciences.org (JIRA)

unread,
Sep 19, 2018, 11:43:02 AM9/19/18
to jenkinsc...@googlegroups.com

I think I have fixed this by removing the offending key from my .ssh/known_hosts. It may be related to an old key recorded there that has changed after the Jenkins server was updated.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

amdokamal@gmail.com (JIRA)

unread,
Jun 26, 2019, 8:22:04 AM6/26/19
to jenkinsc...@googlegroups.com

Giorgio Sironi removing removing the offending key from my .ssh/known_hosts works for me. Thank you!

 

amdokamal@gmail.com (JIRA)

unread,
Jun 26, 2019, 8:22:07 AM6/26/19
to jenkinsc...@googlegroups.com
S. Panchenko edited a comment on Bug JENKINS-45650
[~giorgiosironi] (y) removing removing the offending key from my {{.ssh/known_hosts}} works for me. Thank you!

 

karthikprabu.cs@gmail.com (JIRA)

unread,
Apr 21, 2020, 11:57:02 PM4/21/20
to jenkinsc...@googlegroups.com

Hi guys,

We are seeing this issue on:

Jenkins v2.176.3
Running on CentOS 7.5 and SSH Plugin.

Jenkins CLI adds the SSH key to known_hosts without port, so the entry is conflicting with regular SSH key

Any fix for this issue other than removing `.ssh/known_hosts`?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages