Michael Felt
2018-Apr-21 14:21 UTC
build-issue on AIX with openssh-7.7p1 - easy correction! included
Get the following error: root at x065:[/data/prj/openbsd/openssh/openssh-7.7p1/openbsd-compat]make ??????? xlc_r -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I. -I.. -I../../src/openssh-7.7p1/openbsd-compat -I../../src/openssh-7.7p1/openbsd-compat/.. -I/opt/include -DHAVE_CONFIG_H -c ../../src/openssh-7.7p1/openbsd-compat/strndup.c "../../src/openssh-7.7p1/openbsd-compat/strndup.c", line 42.1: 1506-273 (E) Missing type in declaration of DEF_WEAK. "../../src/openssh-7.7p1/openbsd-compat/strndup.c", line 42.1: 1506-282 (S) The type of the parameters must be specified in a prototype. make: 1254-004 The error code from the last command is 1. Info: strndup.c is a new file in openssh-7.7p1, and the correction is simple: Now: ???? 1? /*????? $OpenBSD: strndup.c,v 1.2 2015/08/31 02:53:57 guenther Exp $??? */ ???? 2 ???? 3? /* ???? 4?? * Copyright (c) 2010 Todd C. Miller <Todd.Miller at courtesan.com> ???? 5?? * ???? 6?? * Permission to use, copy, modify, and distribute this software for any ???? 7?? * purpose with or without fee is hereby granted, provided that the above ???? 8?? * copyright notice and this permission notice appear in all copies. ???? 9?? * ??? 10?? * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ??? 11?? * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF ??? 12?? * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ??? 13?? * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ??? 14?? * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ??? 15?? * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF ??? 16?? * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ??? 17?? */ ??? 18 ??? 19? #include "config.h" ??? 20? #if !defined(HAVE_STRNDUP) || defined(BROKEN_STRNDUP) ??? 21? #include <sys/types.h> ??? 22 ??? 23? #include <stddef.h> ... Change Line 19 to: #include "includes.h" and the build succeeds.
Michael Felt
2018-Apr-23 09:49 UTC
build-issue on AIX with openssh-7.7p1 - easy correction! included
On 21/04/2018 16:21, Michael Felt wrote:> > > Change Line 19 to: > > #include "includes.h" > > and the build succeeds. >Update: make tests results ++++++ ... test try ciphers: cipher aes256-gcm at openssh.com mac hmac-sha1 test try ciphers: cipher chacha20-poly1305 at openssh.com mac hmac-sha1 ok try ciphers run test yes-head.sh ... ok yes pipe head run test login-timeout.sh ... ok connect after login grace timeout run test agent.sh ... ssh-add -l via agent fwd failed (exit code 1) agent fwd failed (exit code 255) ssh connect with failed (exit code 255) ssh connect with failed (exit code 255) ssh-add -D failed: exit code 2 failed simple agent test make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. +++++++++++++++ Question: I have not dug into the tests yet. Will copy to a "local" directory, and not build out of tree and see if that fixes it (as it does for many other packages). However, just in case it does not - how can I fast-forward the tests to the "agent" tests?> _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev >
Darren Tucker
2018-Apr-23 10:01 UTC
build-issue on AIX with openssh-7.7p1 - easy correction! included
On 23 April 2018 at 19:49, Michael Felt <michael at felt.demon.nl> wrote: [...]> run test agent.sh ...[...]> Question: I have not dug into the tests yet. Will copy to a "local" > directory, and not build out of tree and see if that fixes it (as it does > for many other packages). However, just in case it does not - how can I > fast-forward the tests to the "agent" tests?$ make tests SKIP_UNIT=1 LTESTS=agent There's a regress/README.regress that has some more information. (it should work out-of tree, at least some configurations are tested that way regularly). -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
On 23/04/2018 11:49, Michael Felt wrote:> On 21/04/2018 16:21, Michael Felt wrote: > > > Question: I have not dug into the tests yet. Will copy to a "local" > directory, and not build out of tree and see if that fixes it (as it > does for many other packages). However, just in case it does not - how > can I fast-forward the tests to the "agent" tests? >Please excuse the length of the post - if you prefer attached files - for the future, will do that in the future. Went through the following steps: a) copy src and do in-tree build b) run the command (without having rerun make checks - in case there are hiddne dependancies!) root at x066:[/home/aixtools/openbsd/openssh-7.7p1]sh -x /home/aixtools/openbsd/openssh-7.7p1/ssh-log-wrapper.sh -A -F /home/aixtools/openbsd/openssh-7.7p1/ssh_proxy somehost ssh-add -l + exec ssh -E/home/aixtools/openbsd/openssh-7.7p1/ssh.log -A -F /home/aixtools/openbsd/openssh-7.7p1/ssh_proxy somehost ssh-add -l Question: can the key_load_public: statements be ignored? ????????? Likewise, can the "Trying private key" messages be ignored (at the end)? root at x066:[/home/aixtools/openbsd/openssh-7.7p1]cat /home/aixtools/openbsd/openssh-7.7p1/ssh.log trace: kill agent debug1: Executing proxy command: exec sh ./regress/sshd-log-wrapper.sh /home/aixtools/openbsd/openssh-7.7p1/sshd.log ./sshd -i -f /home/aixtools/openbsd/openssh-7.7p1/sshd_proxy debug1: permanently_drop_suid: 0 debug1: permanently_set_uid: 0/0 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ed25519-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.7 debug1: match: OpenSSH_7.7 pat OpenSSH* compat 0x04000000 debug2: fd 6 setting O_NONBLOCK debug2: fd 5 setting O_NONBLOCK debug1: Authenticating to 127.0.0.1:4242 as 'root' debug1: using hostkeyalias: localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-ed25519-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ssh-ed25519-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01 at openssh.com,ecdsa-sha2-nistp384-cert-v01 at openssh.com,ecdsa-sha2-nistp521-cert-v01 at openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug2: ciphers ctos: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: ciphers stoc: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: MACs ctos: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib at openssh.com,zlib debug2: compression stoc: none,zlib at openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: ciphers stoc: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: MACs ctos: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib at openssh.com debug2: compression stoc: none,zlib at openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ssh-ed25519 SHA256:JDc2VZ4VS0naDShfHgUk+QplGtusyITGK9d5filtQNA debug1: using hostkeyalias: localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug1: Host 'localhost-with-alias' is known and matches the ED25519 host key. debug1: Found key in /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 134217728 blocks debug2: key: /.ssh/id_rsa (0) debug2: key: /.ssh/id_dsa (0) debug2: key: /.ssh/id_ecdsa (0) debug2: key: /.ssh/id_ed25519 (0) debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive debug3: preferred publickey debug3: authmethod_lookup publickey debug3: remaining preferred: debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Trying private key: /.ssh/id_rsa debug3: no such identity: /.ssh/id_rsa: No such file or directory debug1: Trying private key: /.ssh/id_dsa debug3: no such identity: /.ssh/id_dsa: No such file or directory debug1: Trying private key: /.ssh/id_ecdsa debug3: no such identity: /.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /.ssh/id_ed25519 debug3: no such identity: /.ssh/id_ed25519: No such file or directory debug2: we did not send a packet, disable method debug1: No more authentication methods to try. root at 127.0.0.1: Permission denied (publickey,password,keyboard-interactive). debug1: Executing proxy command: exec sh ./regress/sshd-log-wrapper.sh /home/aixtools/openbsd/openssh-7.7p1/sshd.log ./sshd -i -f /home/aixtools/openbsd/openssh-7.7p1/sshd_proxy debug1: permanently_drop_suid: 0 debug1: permanently_set_uid: 0/0 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /.ssh/id_ed25519-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.7 debug1: match: OpenSSH_7.7 pat OpenSSH* compat 0x04000000 debug2: fd 6 setting O_NONBLOCK debug2: fd 5 setting O_NONBLOCK debug1: Authenticating to 127.0.0.1:4242 as 'root' debug1: using hostkeyalias: localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-ed25519-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ssh-ed25519-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01 at openssh.com,ecdsa-sha2-nistp384-cert-v01 at openssh.com,ecdsa-sha2-nistp521-cert-v01 at openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug2: ciphers ctos: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: ciphers stoc: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: MACs ctos: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib at openssh.com,zlib debug2: compression stoc: none,zlib at openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: ciphers stoc: chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com debug2: MACs ctos: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib at openssh.com debug2: compression stoc: none,zlib at openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ssh-ed25519 SHA256:JDc2VZ4VS0naDShfHgUk+QplGtusyITGK9d5filtQNA debug1: using hostkeyalias: localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug3: hostkeys_foreach: reading file "/home/aixtools/openbsd/openssh-7.7p1/known_hosts" debug3: record_hostkey: found key type RSA in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:1 debug3: record_hostkey: found key type ED25519 in file /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: load_hostkeys: loaded 2 keys from localhost-with-alias debug1: Host 'localhost-with-alias' is known and matches the ED25519 host key. debug1: Found key in /home/aixtools/openbsd/openssh-7.7p1/known_hosts:2 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 134217728 blocks debug2: key: /.ssh/id_rsa (0) debug2: key: /.ssh/id_dsa (0) debug2: key: /.ssh/id_ecdsa (0) debug2: key: /.ssh/id_ed25519 (0) debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive debug3: preferred publickey debug3: authmethod_lookup publickey debug3: remaining preferred: debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Trying private key: /.ssh/id_rsa debug3: no such identity: /.ssh/id_rsa: No such file or directory debug1: Trying private key: /.ssh/id_dsa debug3: no such identity: /.ssh/id_dsa: No such file or directory debug1: Trying private key: /.ssh/id_ecdsa debug3: no such identity: /.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /.ssh/id_ed25519 debug3: no such identity: /.ssh/id_ed25519: No such file or directory debug2: we did not send a packet, disable method debug1: No more authentication methods to try. root at 127.0.0.1: Permission denied (publickey,password,keyboard-interactive). root at x066:[/home/aixtools/openbsd/openssh-7.7p1]file /home/aixtools/openbsd/openssh-7.7p1/ssh_proxy /home/aixtools/openbsd/openssh-7.7p1/ssh_proxy: commands text root at x066:[/home/aixtools/openbsd/openssh-7.7p1]cat /home/aixtools/openbsd/openssh-7.7p1/sshd_proxy ??????? StrictModes???????????? no ??????? Port??????????????????? 4242 ??????? AddressFamily?????????? inet ??????? ListenAddress?????????? 127.0.0.1 ??????? #ListenAddress????????? ::1 ??????? PidFile /home/aixtools/openbsd/openssh-7.7p1/pidfile ??????? AuthorizedKeysFile /home/aixtools/openbsd/openssh-7.7p1/authorized_keys_%u ??????? LogLevel??????????????? DEBUG3 ??????? AcceptEnv?????????????? _XXX_TEST_* ??????? AcceptEnv?????????????? _XXX_TEST ??????? Subsystem?????? sftp??? /usr/libexec/openssh/sftp-server StrictModes no HostKey /home/aixtools/openbsd/openssh-7.7p1/rsa HostKey /home/aixtools/openbsd/openssh-7.7p1/ed25519 -rw-r--r--??? 1 root???? system????????? 128 Apr 24 11:18 authorized_keys_root root at x066:[/home/aixtools/openbsd/openssh-7.7p1]cat authorized_keys_root cert-authority,principals="estragon" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMGpu7gKKy23HIh/1P6+4gvqMnNjck5hAfm27jDJCKB root at x066>> _______________________________________________ >> openssh-unix-dev mailing list >> openssh-unix-dev at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev >> > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Darren Tucker
2018-Apr-29 08:01 UTC
build-issue on AIX with openssh-7.7p1 - easy correction! included
On 22 April 2018 at 00:21, Michael Felt <michael at felt.demon.nl> wrote: [...]> #include "includes.h"Applied thanks, it'll be in the next major release, and 7.7 minor release if the is one. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.