I'm wanting to require ssh key to login to the ssh... However when I click on "Manage SSH keys" in the WHM and then goto import a putty .ppk it says
/usr/local/cpanel/bin/puttygen is missing or not executable. Please build it from /usr/local/cpanel/src/3rdparty/mit/
so I went to the folder and went to make it and then i get
root@web02 [/usr/local/cpanel/src/3rdparty/mit]# make
/usr/local/cpanel/src/3rdparty/mit/utils/build_prep.pl cgiemail-1.6
(cd cgiemail-1.6; \
rm -f config.cache; \
./configure --enable-owner-bounce; \
make)
creating cache ./config.cache
checking cgienv... yes
checking owner-bounce... yes
checking x-headers... yes
checking for sendmail... /usr/sbin/sendmail
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for size_t... yes
checking for sigprocmask... yes
checking for strerror... yes
checking for socket... yes
updating cache ./config.cache
creating ./config.status
creating cgi.h
creating Makefile
creating testce.html
creating config.h
config.h is unchanged
make[1]: Entering directory `/usr/local/cpanel/src/3rdparty/mit/cgiemail-1.6'
gcc -DCSOHEADER=\"/afs/net.mit.edu/admin/www/root/csoheader\" -DCSOFOOTER=\"/afs/net.mit.edu/admin/www/root/csofooter\" -c cgilibcso.c
gcc -o cgicso cgilib.o cgilibcso.o csoget.o cgicso.o
cgilib.o: In function `cgi_mail_template':cgilib.c
.text+0x16ca): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/mit/cgiemail-1.6'
I also noticed there was a bash script called buildputty - so trying that
and then it errors out
putty-0.58/README
putty-0.58/sshpubk.c
putty-0.58/mkunxarc.sh
putty-0.58/sftp.h
putty-0.58/Recipe
putty-0.58/logging.c
putty-0.58/sshsha.c
putty-0.58/putty.h
putty-0.58/sshprime.c
putty-0.58/misc.c
putty-0.58/telnet.c
putty-0.58/cmdgen.c
putty-0.58/manifest
putty-0.58/version.def
cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ `gtk-config --cflags` -c ../cmdgen.c
/bin/sh: gtk-config: command not found
cc1: warnings being treated as errors
../cmdgen.c: In function âblobfpâ:
../cmdgen.c:235: warning: pointer targets in passing argument 2 of âMD5Updateâ differ in signedness
../cmdgen.c: In function âmainâ:
../cmdgen.c:699: warning: pointer targets in passing argument 1 of âssh1_read_bignumâ differ in signedness
../cmdgen.c:705: warning: pointer targets in passing argument 1 of âssh1_read_bignumâ differ in signedness
../cmdgen.c:877: warning: pointer targets in assignment differ in signedness
../cmdgen.c:889: warning: pointer targets in assignment differ in signedness
../cmdgen.c:909: warning: pointer targets in passing argument 1 of âbase64_encode_atomâ differ in signedness
gmake: *** [cmdgen.o] Error 1
install: cannot stat `puttygen': No such file or directory
Any suggestions on getting this to work?
/usr/local/cpanel/bin/puttygen is missing or not executable. Please build it from /usr/local/cpanel/src/3rdparty/mit/
so I went to the folder and went to make it and then i get
root@web02 [/usr/local/cpanel/src/3rdparty/mit]# make
/usr/local/cpanel/src/3rdparty/mit/utils/build_prep.pl cgiemail-1.6
(cd cgiemail-1.6; \
rm -f config.cache; \
./configure --enable-owner-bounce; \
make)
creating cache ./config.cache
checking cgienv... yes
checking owner-bounce... yes
checking x-headers... yes
checking for sendmail... /usr/sbin/sendmail
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for size_t... yes
checking for sigprocmask... yes
checking for strerror... yes
checking for socket... yes
updating cache ./config.cache
creating ./config.status
creating cgi.h
creating Makefile
creating testce.html
creating config.h
config.h is unchanged
make[1]: Entering directory `/usr/local/cpanel/src/3rdparty/mit/cgiemail-1.6'
gcc -DCSOHEADER=\"/afs/net.mit.edu/admin/www/root/csoheader\" -DCSOFOOTER=\"/afs/net.mit.edu/admin/www/root/csofooter\" -c cgilibcso.c
gcc -o cgicso cgilib.o cgilibcso.o csoget.o cgicso.o
cgilib.o: In function `cgi_mail_template':cgilib.c
make[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/mit/cgiemail-1.6'
I also noticed there was a bash script called buildputty - so trying that
and then it errors out
putty-0.58/README
putty-0.58/sshpubk.c
putty-0.58/mkunxarc.sh
putty-0.58/sftp.h
putty-0.58/Recipe
putty-0.58/logging.c
putty-0.58/sshsha.c
putty-0.58/putty.h
putty-0.58/sshprime.c
putty-0.58/misc.c
putty-0.58/telnet.c
putty-0.58/cmdgen.c
putty-0.58/manifest
putty-0.58/version.def
cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ `gtk-config --cflags` -c ../cmdgen.c
/bin/sh: gtk-config: command not found
cc1: warnings being treated as errors
../cmdgen.c: In function âblobfpâ:
../cmdgen.c:235: warning: pointer targets in passing argument 2 of âMD5Updateâ differ in signedness
../cmdgen.c: In function âmainâ:
../cmdgen.c:699: warning: pointer targets in passing argument 1 of âssh1_read_bignumâ differ in signedness
../cmdgen.c:705: warning: pointer targets in passing argument 1 of âssh1_read_bignumâ differ in signedness
../cmdgen.c:877: warning: pointer targets in assignment differ in signedness
../cmdgen.c:889: warning: pointer targets in assignment differ in signedness
../cmdgen.c:909: warning: pointer targets in passing argument 1 of âbase64_encode_atomâ differ in signedness
gmake: *** [cmdgen.o] Error 1
install: cannot stat `puttygen': No such file or directory
Any suggestions on getting this to work?