Subj : Re: Mystic BBS: incoming SSH connections fails To : cslr From : paulie420 Date : Sat Apr 01 2023 04:35 pm cs> I get following error when I try to connect to SSH. I have tried multiple cs> settings but all fail. cs> cs> mis.log: "SSH Unable to set key (-2)" Did you delete the certificate after the change/upgrade? Its in /mystic/data/ssl.cert. cs> I guess this might be because I use cryptlib 3.4.6 and 3.4.5. Do you cs> know where I can download source code for 3.4.5 that can be compiled on cs> 64bit systems? I believe they are all listed on the Mystic Wiki @ https://wiki.mysticbbs.com/doku.php?id=cryptlib&s[]=cryptlib cs> When I download cryptlib zip file from mystic bbs website, it has cs> "-mcpu=pentium" (i386) options enabled which breaks compilation on 64bit cs> Linux. For this, you can follow the following: ----- esc - 07/13/2022 in tools/ccopts.sh comment out the if statement beginning at line 591 all the wa y to line 611 and then add a line underneath that says CCARGS="$CCARGS -march=na tive -mtune=native" (your line numbers might vary a little, so search for something in the text below...) [8:07 PM] after editing, it should look like: #if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "x86_64" ] ; the n # if [ "$GCC_VER" -ge 45 ] ; then # CCARGS="$CCARGS -march=native -mtune=generic" ; # if [ "$ARCH" = "x86_64" ] ; then # CCARGS="$CCARGS -fPIC" ; # fi ; # elif [ "$GCC_VER" -ge 30 ] ; then # case $ARCH in # 'x86_64') # CCARGS="$CCARGS -march=opteron -fPIC" ;; # # 'i686') # CCARGS="$CCARGS -march=pentiumpro" ;; # # *) # CCARGS="$CCARGS -march=pentium" ;; # esac ; # else # CCARGS="$CCARGS -mcpu=x86_64" ; # fi ; #fi CCARGS="$CCARGS -march=native -mtune=native" [8:08 PM] basically what we're doing is just hardcoding it to compile for the native proce ssor, which gcc is clever enough to figure out on its own these days anyway ----- |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A48 (Linux/64) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150) .