You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/12/20 19:26:46 UTC

[jira] [Commented] (INFRA-10976) enable jsch-compatible key exchange protocol on home.apache.org

    [ https://issues.apache.org/jira/browse/INFRA-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065862#comment-15065862 ] 

Steve Loughran commented on INFRA-10976:
----------------------------------------

{code}
      [scp] Connecting to localhost:22
      [scp] Connecting to localhost port 22
      [scp] Connection established
      [scp] Remote version string: SSH-2.0-OpenSSH_6.9
      [scp] Local version string: SSH-2.0-JSCH-0.1.51
      [scp] CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
      [scp] CheckKexes: diffie-hellman-group14-sha1
      [scp] diffie-hellman-group14-sha1 is not available.
      [scp] SSH_MSG_KEXINIT sent
      [scp] SSH_MSG_KEXINIT received
      [scp] kex: server: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
      [scp] kex: server: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
      [scp] kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
      [scp] kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
      [scp] kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
      [scp] kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
      [scp] kex: server: none,zlib@openssh.com
      [scp] kex: server: none,zlib@openssh.com
      [scp] kex: server: 
      [scp] kex: server: 
      [scp] kex: client: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
      [scp] kex: client: ssh-rsa,ssh-dss
      [scp] kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
      [scp] kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
      [scp] kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
      [scp] kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
      [scp] kex: client: none
      [scp] kex: client: none
      [scp] kex: client: 
      [scp] kex: client: 
      [scp] Disconnecting from localhost port 22

BUILD FAILED
/Users/stevel/Projects/slider/bin/release.xml:299: com.jcraft.jsch.JSchException: Algorithm negotiation fail
	at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
	at com.jcraft.jsch.Session.connect(Session.java:320)
	at com.jcraft.jsch.Session.connect(Session.java:183)
	at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.java:225)
	at org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:317)
	at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:242)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at org.apache.tools.ant.Main.runBuild(Main.java:853)
	at org.apache.tools.ant.Main.startAnt(Main.java:235)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
{code}

> enable jsch-compatible key exchange protocol on home.apache.org
> ---------------------------------------------------------------
>
>                 Key: INFRA-10976
>                 URL: https://issues.apache.org/jira/browse/INFRA-10976
>             Project: Infrastructure
>          Issue Type: Improvement
>          Components: Other/Misc
>         Environment: ant <scp> task with jsch 0.1.51
>            Reporter: Steve Loughran
>
> I'm trying to migrate my automated RC-publishing scripts from {{scp -r people.apache.org}} to {{sftp home.apache.org}}
> Turns out that the Java jsch library can't negotiate a compatible key exchange mechanism with home.apache.org as there isn't one.
> could you add one? the pasted logs show the mismatch



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)