Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Problems with SSH


    Hello all.

    I recently installed Mandrake 10, and I want to use it as a server. I downloaded SSH-2.0.9, and I started to install it. I did:
    tar xvzf ssh-2.0.9.tar.gz #
    cd ssh-2.0.9
    ./configure
    su
    make

    When I inputted "make", it did the following:
    [root@localhost ssh-2.0.9]# make
    make all-recursive
    make[1]: Entering directory `/home/sami/Documents/ssh-2.0.9'
    Making all in lib
    make[2]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib'
    Making all in zlib
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/zlib'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/zlib'
    Making all in sshmath
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath/tests'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath/tests'
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath'
    Making all in sshreadline
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline/test
    s'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline/tests
    '
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline'
    Making all in sshutil
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil/tests'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil/tests'
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil'
    Making all in sshapputil
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil/tests
    '
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil/tests'
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil'
    Making all in sshcrypt
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt/tests'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt/tests'
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt'
    Making all in sshproto
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto'
    Making all in tests
    make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto/tests'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto/tests'
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto'
    Making all in sshsession
    make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshsession'
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../sshutil -I./../sshutil
    -DSSHDIST_UTIL_PACKETSTREAM -DSSHDIST_CRYPT_DL -DSSHDIST_CRYPT_DLKEX -DSSHDIST_C
    RYPT_RIPEMD160 -DSSHDIST_MATH_ASM_I386 -DSSHDIST_CRYPT_GENMAC MON -DSSHDIST_CRYPT_DES -DSSHDIST_CRYPT_GENHASH -DSSHDIST_CRY YPT_GENPKCS -DSSHDIST_CRYPT_COMPRESS -DSSHDIST_MATH_ASM -DSSH HDIST_IPSEC_NETBSD -DSSHDIST_CRYPT_SSHMACS -DSSHDIST_CRYPT_AR PT_DSA -DSSHDIST_CRYPT_HMAC -DSSHDIST_CRYPT_GENCIPH -DSSHDIST SSHDIST_CRYPT_DH -g -Wall -c wtmp.c
    wtmp.c: In function `ssh_user_record_login':
    wtmp.c:376: warning: `0' flag used with `%s' printf format
    wtmp.c:380: warning: `0' flag used with `%s' printf format
    wtmp.c:405: error: structure has no member named `ut_syslen'
    wtmp.c:406: error: structure has no member named `e_terminati
    wtmp.c:407: error: structure has no member named `e_exit'
    wtmp.c:419: warning: implicit declaration of function `updwtm
    wtmp.c:419: error: `WTMPX_FILE' undeclared (first use in this
    wtmp.c:419: error: (Each undeclared identifier is reported on
    wtmp.c:419: error: for each function it appears in.)
    make[3]: *** [wtmp.o] Error 1
    make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/li
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/sami/Documents/ssh-2.0.9/li
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/sami/Documents/ssh-2.0.9'
    make: *** [all-recursive-am] Error 2
    [root@localhost ssh-2.0.9]#

    What should I do about those errors ? Should my SSH work even with these errors ?
    Also, I installed my Mandrake only with 2 CD:s, should the absence of third CD affect my linux majorly ?

    Thanks in advance.

  2. #2
    Hi,
    why don't you want to use the ssh server already included with the distro?
    It's an easy rpm install and you'll get automaticaly security update if any from Mandrake...

  3. #3
    I installed my MDK10 with only 2 CD:s, and I can't find SSH anywhere, so I think it is in the third CD.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    I'm not sure what version of ssh you are trying to install, but I would suggest OpenSSH. OpenSSH is up to version 3.9 and has RPMs on their ftp here.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    On Mandrake 10.0, openssh is on the 1st CD.
    Just open a terminal console and type this :

    $ su -
    Password:<Enter your root password>
    # urpmi openssh-server
    if requested, type Y to accept depencies...

    After install :
    # chkconfig --add sshd
    # service sshd start

    (chkconfig --add is to tell the service to start automaticaly at next boot)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •