LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2004, 03:30 AM   #1
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
Angry ssh/2.6.3/slack


okay, so i have a working slack 9 box (2.4.20) boots fine, ssh works great

.. i upgrade to 2.6.0, works reasonably fine. (slight issues with the NIC module, but i fixed that with some info hunting)

upgrade to 2.6.3, all seems to be okay. only, SSH has stopped working right

sshd -D works and lets me interact that way, but this is hardly a longterm
solution. i generated a new set of keys, no go.

sshd -d takes up a terminal, but runs okay.


so... anyone have any tips/help they can give me?

random info:

clean 2.6.3 compile, removed only sound/usb support
added in only NIC/reiserfs/xfs support
all else is default
 
Old 03-09-2004, 06:42 AM   #2
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
I know this is not much help, but sometimes it's good to hear.
I upgraded to 2.6.3 and my ssh was working fine. It may have somthing
to do with how you compiled your kernel.

I can send you the kernel conf from mine if it helps, and you can see whats different. Just a thought.

Ade
 
Old 03-09-2004, 11:45 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Any log entries in /var/log/messages that are interesting?
 
Old 03-10-2004, 01:42 AM   #4
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
all i'm finding in any of the logs (syslog to be exact) is a "daemon() failed: success" message for sshd, quite a few times. with no real clue as to why it's failing
 
Old 03-10-2004, 01:50 AM   #5
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
what i've done since the first post:

complete recompile without stripping the usb/sound
and only adding in the 2 things i _need_
(reiserfs and NIC support)


no sshd

switching back to 2.4.20 (slack9 default kernel) or 2.6.0 and sshd works flawlessly, so here's whats been done

last 2.6.3 compile:

make mrproper
make menuconfig

added nic support (3c509 etherlink3)
added Reiserfs support
saved, quit

make clean
make bzImage
make modules
make modules_install


copying the two required files over to /boot and doing the rename/symlink/lilo thing

reboot

now, with a near bone stock kernel config, one would imagine that sshd would work without any problem. yet it does not o_O

doing the above compile steps with 2.6.0 works fine.

i am forced to wonder :\
 
Old 03-10-2004, 03:24 AM   #6
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Try adding more -d (up to three can be used) to see if you get any more info on what the problem is.
Also try the -t option to check the sanity of your config and keys.
 
Old 03-10-2004, 05:24 AM   #7
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
-t doesn't seem to do anything, much the same as just straight up "sshd"
-d checks keys, does the rest of the key thing, and then occupies a VT
it'll do that for each terminal i use it on (no errors)
yet, when not using -d or -D, it fails with a terminal error that isn't reported

i did get it to report something about not being able to find/use the keys
though i'm not sure how i did that

on a side note: editing the config and uncommenting the defaults (while leaving them the same) tells me it can't find the ssh2 keys even though they're in the right place

i did generate a new set of keys and placed them into all of the "known" locations, i still get nothing helpful :\ and i can't seem to find a logging option anywhere. this is greatly annoying me >
 
Old 03-10-2004, 05:44 AM   #8
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
reading some obscure manuals found through the glory of google, yeilds me a -e flag

which results in the 'daemon() failed: success' error

alas, this does not help me figure out what the heck is going on.
 
Old 03-10-2004, 06:54 AM   #9
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Don't know if this has anything to do with it, but i don't compile my kernel like that. Thats the 2.4 method as far as i know. I do it like this :

extract kernel source
remove and remake my /usr/src/linux symlink (ln -s linux-2.6.3 linux/)
make menuconfig (change whatever you need to)
make
su -c "make modules_install"
make install

i then copy over the kernel file (cp arch/i386/boot/bzImahe /boot)
and configure and run lilo

It works fine for me. I like you also had problems when compiling using the 2.4 method.

See if that helps

Ade
 
Old 03-10-2004, 09:39 AM   #10
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I'm out of clues.
 
Old 03-10-2004, 12:49 PM   #11
Ryouko
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
reverting back to 2.4.* yeilded a harfed sshd, removing everything openssh based and recompiling didn't fix it. killing that off and replacing it with the original slackware version (via installpkg) didn't work.

i'm giving up, wiping the system and going with ext3 or something with a clean install. this time, i'll wait till 2.6.4 or something

thanks anyway

-Tsuki
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 10:55 PM
ssh setup slack 9.1 nixel Slackware 32 05-24-2005 01:45 AM
ssh issues since upgrade to Slack v10 pH* Slackware 4 02-25-2005 02:22 PM
can't login to a Slack machine using a NIS account through ssh nIMBVS Slackware 2 07-15-2004 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 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