Comments (23)
Hi @BlackMage2
How was wolfSSL installed in /usr/local if the configure step is failing?
wolfssl is already installed in /usr/local
Could you please share the config log?
from wolfssh.
oh sry, that fails with the same error. where does the error come from?
here the config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by wolfssh configure 1.4.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
`
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = my.website.abc
uname -m = x86_64
uname -r = 2.6.32-042stab127.2
uname -s = Linux
uname -v = #1 SMP Thu Jan 4 16:41:44 MSK 2018
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/isc/isc-bind/root/usr/bin
PATH: /opt/isc/isc-bind/root/usr/sbin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2463: checking build system type
configure:2477: result: x86_64-unknown-linux-gnu
configure:2497: checking host system type
configure:2510: result: x86_64-unknown-linux-gnu
configure:2530: checking target system type
configure:2543: result: x86_64-unknown-linux-gnu
configure:2586: checking for a BSD-compatible install
configure:2654: result: /usr/bin/install -c
configure:2665: checking whether build environment is sane
configure:2720: result: yes
configure:2871: checking for a thread-safe mkdir -p
configure:2910: result: /usr/bin/mkdir -p
configure:2917: checking for gawk
configure:2933: found /usr/bin/gawk
configure:2944: result: gawk
configure:2955: checking whether make sets $(MAKE)
configure:2977: result: yes
configure:3006: checking whether make supports nested variables
configure:3023: result: yes
configure:3103: checking whether UID '0' is supported by ustar format
configure:3106: result: yes
configure:3113: checking whether GID '0' is supported by ustar format
configure:3116: result: yes
configure:3124: checking how to create a ustar tar archive
configure:3135: tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:3138: $? = 0
configure:3178: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3181: $? = 0
configure:3185: tar -xf - <conftest.tar
configure:3188: $? = 0
configure:3190: cat conftest.dir/file
GrepMe
configure:3193: $? = 0
configure:3206: result: gnutar
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/missing aclocal-1.14'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMINCLUDE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LDFLAGS=''
AM_V='$(V)'
AUTOCONF='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/missing automake-1.14'
AWK='gawk'
BUILD_AGENT_FALSE=''
BUILD_AGENT_TRUE=''
BUILD_EXAMPLE_CLIENTS_FALSE=''
BUILD_EXAMPLE_CLIENTS_TRUE=''
BUILD_EXAMPLE_SERVERS_FALSE=''
BUILD_EXAMPLE_SERVERS_TRUE=''
BUILD_FWD_FALSE=''
BUILD_FWD_TRUE=''
BUILD_INLINE_FALSE=''
BUILD_INLINE_TRUE=''
BUILD_KEYGEN_FALSE=''
BUILD_KEYGEN_TRUE=''
BUILD_SCP_FALSE=''
BUILD_SCP_TRUE=''
BUILD_SFTP_FALSE=''
BUILD_SFTP_TRUE=''
BUILD_SHELL_FALSE=''
BUILD_SHELL_TRUE=''
BUILD_TERM_FALSE=''
BUILD_TERM_TRUE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CFLAG_VISIBILITY=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GENERIC_CONFIG=''
GREP=''
HAVE_VISIBILITY=''
HEX_VERSION=''
INC_AMINCLUDE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IS_VCS_CHECKOUT_FALSE=''
IS_VCS_CHECKOUT_TRUE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/missing makeinfo'
MCHECK=''
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT=''
PACKAGE='wolfssh'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='wolfssh'
PACKAGE_STRING='wolfssh 1.4.8'
PACKAGE_TARNAME='wolfssh'
PACKAGE_URL='https://www.wolfssl.com'
PACKAGE_VERSION='1.4.8'
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_CXX=''
PTHREAD_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.4.8'
WOLFSSH_LIBRARY_VERSION='12:3:3'
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/wolfSSL/wolfssh-1.4.8-stable/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "wolfssh"
#define PACKAGE_TARNAME "wolfssh"
#define PACKAGE_VERSION "1.4.8"
#define PACKAGE_STRING "wolfssh 1.4.8"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL "https://www.wolfssl.com"
configure: exit 2
from wolfssh.
Just covering all the basics here... Did you run ./autogen.sh
first?
from wolfssh.
yes that outputs:
autoreconf: Entering directory .'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:8: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:8: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:8: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:8: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1`
i have gettext 0.19.8.1 installed
from wolfssh.
And I know you provided the libtool version, but the first hit for that error is:
https://stackoverflow.com/questions/18978252/error-libtool-library-used-but-libtool-is-undefined
Could you please try running libtoolize
then rerun the autogen script?
https://stackoverflow.com/a/18980043
from wolfssh.
THANKS, that was it, but compiling fails
/autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR,build-aux'. libtoolize: copying file
build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR,m4'. libtoolize: copying file
m4/libtool.m4'
libtoolize: copying filem4/ltoptions.m4' libtoolize: copying file
m4/ltsugar.m4'
libtoolize: copying filem4/ltversion.m4' libtoolize: copying file
m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
You have new mail in /var/spool/mail/root
[root@vps wolfssh-1.4.8-stable]# make
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-scp --enable-sftp --enable-fwd --no-create --no-recursion
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking size of long long... 8
checking size of long... 8
checking size of off_t... 8
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for socket in -lnetwork... no
checking for forkpty in -lutil... yes
checking for wolfSSL... configure: prefix NONE
checking for wolfCrypt_Init in -lwolfssl... yes
checking for gethostbyname... yes
checking for getaddrinfo... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for socket... yes
checking for wc_ecc_set_rng... yes
checking for debug... no
checking whether gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking the number of available CPUs... 2
configure: adding automake macro support
configure: creating aminclude.am
configure: added jobserver support to make for 3 jobs
checking for vcs system... none
checking for vcs checkout... no
checking whether the linker accepts -Werror... yes
checking whether the linker accepts -z relro -z now... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -Werror... yes
checking whether C compiler accepts -Wno-pragmas... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wno-strict-aliasing... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wunknown-pragmas... yes
checking whether C compiler accepts -Wthis-test-should-fail... no
checking whether C compiler accepts --param=ssp-buffer-size=1... yes
checking whether C compiler accepts -Waddress... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wbad-function-cast... yes
checking whether C compiler accepts -Wchar-subscripts... yes
checking whether C compiler accepts -Wcomment... yes
checking whether C compiler accepts -Wfloat-equal... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wmaybe-uninitialized... yes
checking whether C compiler accepts -Wmissing-field-initializers... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wnormalized=id... yes
checking whether C compiler accepts -Woverride-init... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wpointer-sign... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Wshorten-64-to-32... no
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-overflow=1... yes
checking whether C compiler accepts -Wstrict-prototypes... no
checking whether C compiler accepts -Wswitch-enum... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wunused-result... yes
checking whether C compiler accepts -Wunused-variable... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -fwrapv... yes
creating wolfssh-config - generic 1.4.8 for -lwolfssh -lwolfssl -lutil
checking that generated files are newer than configure... done
configure: creating ./config.statusRunning make clean...
Configuration summary for wolfssh version 1.4.8
- Installation prefix: /usr/local
- System type: unknown-linux-gnu
- Host CPU: x86_64
- C Compiler: gcc
- C Flags: -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv
- CPP Flags: -I/usr/local/include
- Linker Flags: -L/usr/local/lib
Features
- Inline Code: yes
- Small stack: no
- keygen: no
- psuedo-terminal: yes
- echoserver shell support: no
- scp: yes
- sftp: yes
- agent: no
- TCP/IP Forwarding: yes
- Examples: yes
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating wolfssh/version.h
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make -j3 all-am
make[1]: Entering directory `/opt/wolfSSL/wolfssh-1.4.8-stable'
CC examples/server/server.o
CC examples/client/client.o
CC examples/portfwd/portfwd.o
CC examples/sftpclient/sftpclient.o
CC examples/scpclient/scpclient.o
CC tests/tests_unit_test-unit.o
CC tests/tests_api_test-api.o
CC examples/echoserver/tests_api_test-echoserver.o
CC tests/tests_testsuite_test-testsuite.o
CC tests/tests_testsuite_test-sftp.o
CC examples/echoserver/tests_testsuite_test-echoserver.o
CC examples/client/tests_testsuite_test-client.o
CC examples/sftpclient/tests_testsuite_test-sftpclient.o
CC src/src_libwolfssh_la-ssh.lo
CC src/src_libwolfssh_la-internal.lo
CC src/src_libwolfssh_la-log.lo
CC src/src_libwolfssh_la-io.lo
CC src/src_libwolfssh_la-port.lo
CC src/src_libwolfssh_la-wolfscp.lo
CC src/src_libwolfssh_la-wolfsftp.lo
CC examples/echoserver/echoserver.o
CCLD src/libwolfssh.la
CCLD examples/client/client
CCLD examples/server/serverCCLD examples/echoserver/echoserver
src/.libs/libwolfssh.so: undefined reference tomp_init' src/.libs/libwolfssh.so: undefined reference to
mp_read_unsigned_bin'
src/.libs/libwolfssh.so: undefined reference tomp_clear' collect2: error: ld returned 1 exit status make[1]: *** [examples/server/server] Error 1 make[1]: *** Waiting for unfinished jobs.... src/.libs/libwolfssh.so: undefined reference to
mp_init'
src/.libs/libwolfssh.so: undefined reference tomp_read_unsigned_bin' src/.libs/libwolfssh.so: undefined reference to
mp_clear'
collect2: error: ld returned 1 exit status
make[1]: *** [examples/client/client] Error 1
src/.libs/libwolfssh.so: undefined reference tomp_init' src/.libs/libwolfssh.so: undefined reference to
mp_read_unsigned_bin'
src/.libs/libwolfssh.so: undefined reference tomp_clear' collect2: error: ld returned 1 exit status make[1]: *** [examples/echoserver/echoserver] Error 1 make[1]: Leaving directory
/opt/wolfSSL/wolfssh-1.4.8-stable'
make: *** [all] Error 2
from wolfssh.
Did you build wolfSSL configured with --enable-ssh
? Otherwise could you please share the configure command used for wolfSSL?
https://github.com/wolfSSL/wolfssh/blob/master/README.md#dependencies
from wolfssh.
wolfSSL configured with ./configure --enable-libssh2 --enable-openssh --enable-fwd --enable-echo --enable-shell
and wolfSSH with ./configure --with-wolfssl=/usr/local --enable-scp --enable-fwd --enable-sftp --enable-shell --enable-keygen
hmpf in configure of wolfssl have i no --enable-ssh .
from wolfssh.
okay now i have successfully compiled both: wolfssl with ./configure --enable-libssh2 --enable-openssh --enable-ssh
and wolfssh with ./configure --with-wolfssl=/usr/local --enable-scp --enable-fwd --enable-sftp --enable-shell --enable-keygen
a bit complicated to find out the right options(i had enable-libssh2 and enable-shell and enable-openssh but no --enable-ssh xD)
from wolfssh.
but no SSH server itself included?
i need to compile dropbear or openssh with wolfssh lib?
how i can make that?
from wolfssh.
okay now i have successfully compiled both: wolfssl with
./configure --enable-libssh2 --enable-openssh --enable-ssh
and wolfssh with./configure --with-wolfssl=/usr/local --enable-scp --enable-fwd --enable-sftp --enable-shell --enable-keygen
a bit complicated to find out the right options(i had enable-libssh2 and enable-shell and enable-openssh but no --enable-ssh xD)
In the wolfSSL config you only need --enable-ssh
for wolfSSH. Those other options are configs for using wolfSSL with different SSH libraries.
but no SSH server itself included?
The wolfSSH library is not a server, but it contains the parts needed to build one. There is a demonstration in the Echo Server example:
https://github.com/wolfSSL/wolfssh/blob/master/README.md#echoserver
i need to compile dropbear or openssh with wolfssh lib?
how i can make that?
No, those projects contain their own implementations of the SSH protocol. They could be built to link against wolfSSL in order to use the cryptography provided by wolfCrypt (which is the purpose of those wolfSSL config options mentioned earlier).
from wolfssh.
wolfCrypt is a additional lib?
from wolfssh.
wolfCrypt is a additional lib?
No, it is the cryptographic component of the wolfSSL library. wolfSSL also contains a full TLS/SSL stack, but part that is not used by wolfSSH.
from wolfssh.
what is a tiny ssh server that can use wolfSSH?
from wolfssh.
You can actually use the wolfSSH echoserver example with the shell! I recommend testing with the echoserver with shell enabled and see if you actually need more than that. You'll want to update the accounts in wsUserAuth:
Keep in mind, the echoserver has several fake accounts in its wsUserAuth() callback function. (jack, jill, hansel, and gretel) When the shell support is enabled, those fake accounts will not work. They don't exist in the system's passwd file. The users will authenticate, but the server will err out because they don't exist in the system. You can add your own username to the password or public key list in the echoserver. That account will be logged into a shell started by the echoserver with the privileges of the user running echoserver.
https://github.com/wolfSSL/wolfssh/blob/master/README.md#testing-notes
We'd like to hear more about your use case. Please send an email to [email protected]
from wolfssh.
where is specified the port? should be 22222 but i didn´t find it
from wolfssh.
and on my tests is the echoserver not reachable, is should be reachable by the ssh client?
from wolfssh.
where is specified the port? should be 22222 but i didn´t find it
Yes, the default port is 22222.
and on my tests is the echoserver not reachable, is should be reachable by the ssh client?
I just tested successfully in linux using the instructions from:
https://github.com/wolfSSL/wolfssh/blob/master/README.md#examples
Please email [email protected] for priority support.
from wolfssh.
is the priority support free?
from wolfssh.
Yes, we do offer free pre-sales support!
from wolfssh.
is Linux version 2.6.32-042stab127.2 supported? i know that is very old
from wolfssh.
I would think so. Are you seeing issues? Please share any details.
from wolfssh.
On an older Linux distribution, the kernel shouldn't be a problem. You might get some compile errors due to the age of the compiler. Over the years different options are added to compilers and some are picked and built in differently between distributions. Are you having any specific issues? Or may I close this issue at this time?
from wolfssh.
Related Issues (20)
- SIGSEGV on wolfssh 1.4.11 HOT 2
- Build fails
- error: Libtool library used but 'LIBTOOL' is undefined HOT 3
- Update Espressif SSH examples to use new "no setup" CMakeFiles.txt HOT 1
- wolfssh on STM32U5 HOT 4
- Does the SFTP server support IPV6? HOT 2
- Implement remote port forwarding with lwip HOT 1
- OpenSSH sftp cannot connect with v1.4.14-stable, whilst it could with v1.4.13-stable HOT 11
- Enhancing portability and error handling in wolfSSH
- diffie-hellman-group-exchange-sha256 broken since v1.4.12-stable HOT 2
- non blocking mode does not work : infinte lines of "client would read block" in offical test client program HOT 8
- make fail with sftp HOT 2
- wolfSSH Espressif ESP32 Managed Component Support HOT 1
- wolfSSL GitHooks pre-commit: incompatible on Visual Studio Windows WSL
- Double Free or Corruption on 1.4.13 and master branch HOT 5
- Rekeying doesn't work in certain cases HOT 1
- If the client is suspended, the server enters a busy loop with WS_WINDOW_FULL HOT 6
- DoReiceive() does not update the input buffer after DoPacket(), when it has to. HOT 1
- Espressif fixes: MISC_WARNING not expanded, vars not initialized, not used
- Missing wolfssl/options.h in esp-idf managed component version "1.4.15-stable-preview5"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfssh.