[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-02-01 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo updated  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 
 
Released As: 
 ssh-slaves-1.31.1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.10293.1580576760266%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo updated  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2283.1579467720155%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo started work on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2281.1579463640151%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo updated  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 Reopened Open  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2279.1579463580174%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo commented on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 I have replicated the issue, and I am testing a fix on a test environment https://github.com/kuisathaverat/jenkins-issues/tree/master/JENKINS-60812.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2277.1579463340118%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov edited a comment on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 Also adding an empty-port entry to known_hosts file fixes the issue.To reproduce this case, just change the SSH port to default (on the server), connect at least once, to have the entry added to known_hosts file.Then change SSH port to whatever you want and Jenkins stops refusing to connect.This is a bug. The port is ignored by plugin when trying to find  the  entry in known_hosts file.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2263.1579459865371%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov edited a comment on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 Also adding an empty-port entry to known_hosts file fixes the issue.To reproduce this case, just change the SSH port to default (on the server), connect at least once, to  add  have  the  entry added to known_hosts file.Then change SSH port to whatever you want and Jenkins stops refusing to connect.This is a bug. The port is ignored by plugin when trying to find entry in known_hosts file.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2261.1579459800319%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Arthur Demchenkov  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2259.1579459800264%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov commented on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 Also adding an empty-port entry to known_hosts file fixes the issue. To reproduce this case, just change the SSH port to default (on the server), connect at least once, to add have entry added to known_hosts file. Then change SSH port to whatever you want and Jenkins stops refusing to connect. This is a bug. The port is ignored by plugin when trying to find entry in known_hosts file.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2257.1579459740240%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov commented on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 Why changing ssh port to 22 fixes the issue?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2255.1579459380134%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 Reopened Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2253.1579458360253%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo commented on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 Please read the OpenSSH documentation https://en.wikibooks.org/wiki/OpenSSH/Client_Configuration_Files#~/.ssh/known_hosts section "About the Contents of the known_hosts Files"  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2251.1579458360223%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov edited a comment on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 The known_host file was generated automatically by ssh client. What did Did  I  do  something  wrong which leaded to this behaviour?Is it supposed the user should fill that file manually or something?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2230.1579428180384%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Where is that behaviour documented? It's not seen neither in Jenkins logs or popup "?" messages.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Arthur Demchenkov  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 

[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov commented on  JENKINS-60812  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
 The known_host file was generated automatically by ssh client. What did I do wrong which leaded to this behaviour? Is it supposed the user should fill that file manually or something?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204147.1579417162000.2226.1579427940142%40Atlassian.JIRA.


[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-19 Thread kuisathave...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Fernandez Calvo closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 The know_hosts file should include the port on the host identified to allow to connect to a non standard port, the format is Host:port public-key name  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Change By: 
 Ivan Fernandez Calvo  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop 

[JIRA] (JENKINS-60812) Failed known_hosts verification for non-standard ssh port

2020-01-18 Thread spinal...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Arthur Demchenkov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60812  
 
 
  Failed known_hosts verification for non-standard ssh port   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Ivan Fernandez Calvo  
 
 
Components: 
 ssh-slaves-plugin  
 
 
Created: 
 2020-01-19 06:59  
 
 
Environment: 
 Debian 9  openjdk version "1.8.0_222"  jenkins 2.204.1  SSH Slaves plugin 1.31.0  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Arthur Demchenkov  
 

  
 
 
 
 

 
 Host Key Verification Strategy is broken for non-standard SSH ports.  Jenkins log: [01/19/20 06:17:44] [SSH] Opening SSH connection to slave.net28:58968. [01/19/20 06:17:44] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file. Key exchange was not finished, connection is closed. java.io.IOException: There was a problem while connecting to slave.net28:58968  Command line: jenkins@jenkins:~$ ssh-keygen -H -F [slave.net28]:58968 
 

 
 
1 
EAUuHpVvln52WKE434qHFyJrEzM= 
KyIhaIA1YlW1hDeFIzdvgJQzU8s= ecdsa-sha2-nistp256 E2VjZHNhLXNoYTItbmlzdHAyNTYIbmlzdHAyNTYAAABBBFmmZQx/Cmy1rRV7HsAff4JiIqKPopwVtIgkAaAnG38DESY/cG4xYum0i96eYzmvGxf4UADKDT2e7ePFkJmp9yM=