LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2004, 09:36 AM   #1
ParalyZer
LQ Newbie
 
Registered: Sep 2004
Location: Finland
Distribution: Mandrake 10
Posts: 4

Rep: Reputation: 0
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.
 
Old 09-26-2004, 11:53 PM   #2
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
ssh wasn't already installed? Anyway, I have found urpmi to be very useful in this kind of situation (unless you like the inner satisfaction of compiling yourself). urpmi simplifies the installation of rpms and their dependencies. As root, try urpmi ssh. You may need to configure urpmi first. Check out http://urpmi.org/easyurpmi/index.php and man urpmi for help on configuring.
 
Old 09-27-2004, 02:40 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do you have the compiler installed and devel packages?

Did ./configure show what you need to compile ssh?

meblost:
Compiling programs makes it easier to know what kind of options the program has. Using prebuild packages like RPM will be hard to guess what options it has and which options it does not have. Compiling puts you in control and make sure the program is legitmate. Usually RPM are old program versions and it takes a while for people to make RPM files from the latest programs.
 
Old 09-27-2004, 03:55 AM   #4
bennethos
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Rep: Reputation: 16
Could be you are missing soft to compile, did you install g++ and gcc ? (gnu C compiler)
 
Old 09-27-2004, 10:39 AM   #5
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
Electro:
All true Statements. Regarding program options, you will notice that ParalyZer did not give any arguments to ./configure and it seems to me that for beginners (not sure whether ParalyZer is a beginner or not), rpms reduce the headache and the time lost from this kind of situation. Just my opinion...
 
Old 09-27-2004, 03:29 PM   #6
ParalyZer
LQ Newbie
 
Registered: Sep 2004
Location: Finland
Distribution: Mandrake 10
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks all :)
Can you tell how to uninstall any previous SSH:s ?
And yes, I'm a beginner :)

Last edited by ParalyZer; 09-27-2004 at 03:31 PM.
 
Old 09-27-2004, 04:09 PM   #7
bennethos
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Rep: Reputation: 16
for debian : dpkg --remove ssh or sshd if you have ssh deamon

dpkg --purge ssh to purge all config files

you're welcome
 
Old 09-27-2004, 06:26 PM   #8
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
The makefile in the ssh-2.0.9 dir should have targets called "clean" and "uninstall". If you only need to remove the partially compiled version from this thread, type make clean to remove object files and temp files and that kind of thing. If you ran make install, you can do make uninstall to remove executables and manual pages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with SSH paul.nel Linux - Networking 17 08-09-2011 01:40 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
SSH problems newbie21209 Linux - Networking 10 06-17-2005 12:01 AM
problems with SSH hostprotect Linux - Software 2 01-11-2005 06:15 PM
SSH problems (but only one way) blueares Linux - General 3 10-21-2004 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration