Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 19:04:50 -0800 (PST)
From:      Jaye Mathisen <mrcpu@internetcds.com>
To:        stable@freebsd.org
Subject:   sshd failure from Adding crypto later on -stable?
Message-ID:  <Pine.BSF.4.21.0003301902060.26102-100000@schizo.cdsnet.net>

next in thread | raw e-mail | index | archive | help


installed a minimal 3.4 system.

Supped 4.0, but forgot crypto.

Upgraded to 4.0.

Supped 4.0 crypto.

Make world.

Reboot.

/usr/sbin/sshd starts, but fails upon connection with:

newsfeed# Mar 30 19:13:12 newsfeed
sshd[490]: fatal: rsa_private_decrypt() failed.
Mar 30 19:13:12 newsfeed sshd[490]: fatal: rsa_private_decrypt() failed.

ls -l /usr/lib/*rsa*
-r--r--r--  1 root  wheel  6358 Mar 30 14:12 /usr/lib/librsaUSA.a
lrwxr-xr-x  1 root  wheel    14 Mar 30 14:12 /usr/lib/librsaUSA.so ->
librsaUSA.so.1
-r--r--r--  1 root  wheel  8080 Mar 30 14:12 /usr/lib/librsaUSA.so.1
-r--r--r--  1 root  wheel  7122 Mar 30 14:12 /usr/lib/librsaUSA_p.a

newsfeed# ldd /usr/sbin/sshd
/usr/sbin/sshd:
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2807f000)
        libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x28094000)
        libutil.so.3 => /usr/lib/libutil.so.3 (0x28131000)
        libz.so.2 => /usr/lib/libz.so.2 (0x2813b000)
        libwrap.so.3 => /usr/lib/libwrap.so.3 (0x28148000)
        libc.so.4 => /usr/lib/libc.so.4 (0x2814f000)

newsfeed# ls -ld /usr/lib/*crypt*
lrwxr-xr-x  1 root  wheel       13 Mar 30 14:07 /usr/lib/libcrypt.a ->
libdescrypt.a
lrwxr-xr-x  1 root  wheel       14 Mar 30 14:07 /usr/lib/libcrypt.so ->
libdescrypt.so
lrwxr-xr-x  1 root  wheel       16 Mar 30 14:07 /usr/lib/libcrypt.so.2 ->
libdescrypt.so.2
lrwxr-xr-x  1 root  wheel       15 Mar 30 14:07 /usr/lib/libcrypt_p.a ->
libdescrypt_p.a
-r--r--r--  1 root  wheel  1089776 Mar 30 14:12 /usr/lib/libcrypto.a
lrwxr-xr-x  1 root  wheel       14 Mar 30 14:12 /usr/lib/libcrypto.so ->
libcrypto.so.1
-r--r--r--  1 root  wheel   655796 Mar 30 14:12 /usr/lib/libcrypto.so.1
-r--r--r--  1 root  wheel  1163664 Mar 30 14:12 /usr/lib/libcrypto_p.a
-r--r--r--  1 root  wheel    15640 Mar 30 14:07 /usr/lib/libdescrypt.a
lrwxr-xr-x  1 root  wheel       16 Mar 30 14:07 /usr/lib/libdescrypt.so ->
libdescrypt.so.2
-r--r--r--  1 root  wheel    10296 Mar 30 14:07 /usr/lib/libdescrypt.so.2
-r--r--r--  1 root  wheel    17574 Mar 30 14:07 /usr/lib/libdescrypt_p.a
-r--r--r--  1 root  wheel     8824 Mar 30 14:07 /usr/lib/libscrypt.a
lrwxr-xr-x  1 root  wheel       14 Mar 30 14:07 /usr/lib/libscrypt.so ->
libscrypt.so.2
-r--r--r--  1 root  wheel     5084 Mar 30 14:07 /usr/lib/libscrypt.so.2
-r--r--r--  1 root  wheel     9470 Mar 30 14:07 /usr/lib/libscrypt_p.a


Not sure what's going on.  4.0 systems that have the crypt stuff installed
work fine, it's only this upgraded one that's having trouble.

Any tips appreciated.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003301902060.26102-100000>