Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I downloaded openssh-6.1.p1/tar.gz with http://mirror.corbina.net/pub/OpenBSD/OpenSSH/portable/. I made at first ./configure, then make which, it seems, fulfilled without errors (Nexenta Illumos operating system). As a result of execution of make install I received the following messages

(cd openbsd-compat && make)
./mkinstalldirs /usr/local/bin
./mkinstalldirs /usr/local/sbin
./mkinstalldirs /usr/local/share/man
./mkinstalldirs /usr/local/share/man/man1
./mkinstalldirs /usr/local/share/man/man5
./mkinstalldirs /usr/local/share/man/man8
./mkinstalldirs /usr/local/libexec
(umask 022 ; ./mkinstalldirs /var/empty)
/usr/gnu/bin/install -c -m 0755 -s ssh /usr/local/bin/ssh
/usr/gnu/bin/install -c -m 0755 -s scp /usr/local/bin/scp
/usr/gnu/bin/install -c -m 0755 -s ssh-add /usr/local/bin/ssh-add
/usr/gnu/bin/install -c -m 0755 -s ssh-agent /usr/local/bin/ssh-agent
/usr/gnu/bin/install -c -m 0755 -s ssh-keygen /usr/local/bin/ssh-keygen
/usr/gnu/bin/install -c -m 0755 -s ssh-keyscan /usr/local/bin/ssh-keyscan
/usr/gnu/bin/install -c -m 0755 -s sshd /usr/local/sbin/sshd
/usr/gnu/bin/install -c -m 4711 -s ssh-keysign /usr/local/libexec/ssh-keysign
/usr/gnu/bin/install -c -m 0755 -s ssh-pkcs11-helper /usr/local/libexec/ssh-pkcs11-helper
/usr/gnu/bin/install -c -m 0755 -s sftp /usr/local/bin/sftp
/usr/gnu/bin/install -c -m 0755 -s sftp-server /usr/local/libexec/sftp-server
/usr/gnu/bin/install -c -m 644 ssh.1.out /usr/local/share/man/man1/ssh.1
/usr/gnu/bin/install -c -m 644 scp.1.out /usr/local/share/man/man1/scp.1
/usr/gnu/bin/install -c -m 644 ssh-add.1.out /usr/local/share/man/man1/ssh-add.1
/usr/gnu/bin/install -c -m 644 ssh-agent.1.out /usr/local/share/man/man1/ssh-agent.1
/usr/gnu/bin/install -c -m 644 ssh-keygen.1.out /usr/local/share/man/man1/ssh-keygen.1
/usr/gnu/bin/install -c -m 644 ssh-keyscan.1.out /usr/local/share/man/man1/ssh-keyscan.1
/usr/gnu/bin/install -c -m 644 moduli.5.out /usr/local/share/man/man5/moduli.5
/usr/gnu/bin/install -c -m 644 sshd_config.5.out /usr/local/share/man/man5/sshd_config.5
/usr/gnu/bin/install -c -m 644 ssh_config.5.out /usr/local/share/man/man5/ssh_config.5
/usr/gnu/bin/install -c -m 644 sshd.8.out /usr/local/share/man/man8/sshd.8
/usr/gnu/bin/install -c -m 644 sftp.1.out /usr/local/share/man/man1/sftp.1
/usr/gnu/bin/install -c -m 644 sftp-server.8.out /usr/local/share/man/man8/sftp-server.8
/usr/gnu/bin/install -c -m 644 ssh-keysign.8.out /usr/local/share/man/man8/ssh-keysign.8
/usr/gnu/bin/install -c -m 644 ssh-pkcs11-helper.8.out /usr/local/share/man/man8/ssh-pkcs11-helper.8
rm -f /usr/local/bin/slogin
ln -s ./ssh /usr/local/bin/slogin
rm -f /usr/local/share/man/man1/slogin.1
ln -s ./ssh.1 /usr/local/share/man/man1/slogin.1
if [ ! -d /usr/local/etc ]; then \
    ./mkinstalldirs /usr/local/etc; \
fi
/usr/local/etc/ssh_config already exists, install will not overwrite
/usr/local/etc/sshd_config already exists, install will not overwrite
/usr/local/etc/moduli already exists, install will not overwrite
/usr/local/etc/ssh_host_key already exists, skipping.
sh: line 9: 19705: Memory fault(coredump)
*** Signal 11 - core dumped
The following command caused the error:
if [ -z "" ] ; then \
    if [ -f "/usr/local/etc/ssh_host_key" ] ; then \
        echo "/usr/local/etc/ssh_host_key already exists, skipping." ; \
    else \
        ./ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N "" ; \
    fi ; \
    if [ -f /usr/local/etc/ssh_host_dsa_key ] ; then \
        echo "/usr/local/etc/ssh_host_dsa_key already exists, skipping." ; \
    else \
        ./ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N "" ; \
    fi ; \
    if [ -f /usr/local/etc/ssh_host_rsa_key ] ; then \
        echo "/usr/local/etc/ssh_host_rsa_key already exists, skipping." ; \
    else \
        ./ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N "" ; \
    fi ; \
    if [ -z "#no ecc#" ] ; then \
        if [ -f /usr/local/etc/ssh_host_ecdsa_key ] ; then \
        echo "/usr/local/etc/ssh_host_ecdsa_key already exists, skipping." ; \
        else \
        ./ssh-keygen -t ecdsa -f /usr/local/etc/ssh_host_ecdsa_key -N "" ; \
        fi ; \
    fi ; \
fi ;
make: Fatal error: Command failed for target `host-key'

Help to eliminate an error.

P.S. As a result of repeated execution of the command of make install I find out that there is a hangup at line

fi
mkdir /usr/local/etc 

(but generally the place of hangup happens different in case of different starts, though on all sparse starts which I carried out stopped on the unit

fi
/usr/local/etc/ssh_config already exists, install will not overwrite
/usr/local/etc/sshd_config already exists, install will not overwrite
/usr/local/etc/moduli already exists, install will not overwrite
/usr/local/etc/ssh_host_key already exists, skipping.

).

share|improve this question
2  
Why are you doing this? Nexenta comes with OpenSSH. –  ewwhite Jan 18 '13 at 9:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.