Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerged Fluxbox and SSH wont work now...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
robasan
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Austin

PostPosted: Mon Dec 27, 2004 5:44 pm    Post subject: Emerged Fluxbox and SSH wont work now... Reply with quote

Ultra2 Creator (dual 300mhz, 768 Ram, 2 x 73gig hd
Stage3 install with sparc-sources, kernel-2.4.28-sparc-r4 (did not compile kernel with base inputs since it cause it to bomb)
Emerged fluxbox...took hours\
When finished, cannot startx or xterm..
Worse, using Putty, ssh, port 22, with /etc/init.d/sshd started (tried stopping, restarting, etc....top command shows sshd running) I try to connect...terminal flashes on screen just fast enough that I cannot see anything...and BAM! it's gone...
Clueless.
Any help appreciated
_________________
The next kernel rev has never addressed the basic problem: my innate incompetence.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Mon Dec 27, 2004 7:12 pm    Post subject: Reply with quote

is your network running? with correct ip address? :-)
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
robasan
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Austin

PostPosted: Mon Dec 27, 2004 11:57 pm    Post subject: Emerged Fluxbox and SSH wont work now... Reply with quote

Yes...I can ssh into another box...192.168.1.113 without any problem. Identical machine running same kernel with same options. the .113 box does not have X or any graphical interface on it save what is necessary and installed by emerging link (links2).
I can ping both boxes ...even the ssh-problem child at 192.168.1.115... don't have ipchains or iptables running?
Now, more clueless.
_________________
The next kernel rev has never addressed the basic problem: my innate incompetence.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Tue Dec 28, 2004 12:10 am    Post subject: Reply with quote

so, what does `netstat -l --inet -n -p` on failing box say? what is in logs? are you able to do `ssh localhost` from failing host "to itself"?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
robasan
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Austin

PostPosted: Tue Dec 28, 2004 5:09 am    Post subject: Reply with quote

su to root:
netstat -l --inet -n -p gives the following results:

Active internet connections (only servers)
Proto Recv-Q Send-Q Loacal Address Foreign Adddress State PID/Program name

No values are listed at all.

When I type : ssh 192. 168.1.115 results in :
Read from socket failed: Connection reset by peer.

Hope that helps...
_________________
The next kernel rev has never addressed the basic problem: my innate incompetence.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Tue Dec 28, 2004 8:34 am    Post subject: Reply with quote

and is your network really running? could you post results of `iptables --list`, `ifconfig -a`?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
robasan
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Austin

PostPosted: Tue Dec 28, 2004 3:19 pm    Post subject: Listen Reply with quote

Thank you for the quick reply...
Here's what I have...
'iptables --list`, `ifconfig -a

iptables --list
returns "-bash: ip_tables: command not found"
(tried ip_tables --list .... tried 'iptables--list' and tried 'ip_tables --list')
ifconfig -a returns
eht0: Link encap:E#thernet HWaddr 08:00:20:8F:D1:AD
inet addr:192.168.1.115 Bcaset: 192.168.0.255 Mask:255.255.255.0
inet6 add: fe80::a00:20ff:fe8f:d1ad/64 Scope:Link
UP BROADAst RUNNING MULTIST T150 Metric:1
RX Packets:53636 erors:0 dropped:0 overruns:0 Frame:0
TX packets:27226 erros:0 dropped:0 overruns:0 Carrier:0
collisions: txquelen:1000
RX bytes: 7666761 (75.2 Mb) TX bytes 1810604 (1.7 Mb)
Interupt: 160

lo and sit0 appear to be fine...I'll post if you like...

I am able to go to yahoo by the following:
links2 http://www.yahoo.com

Additionally, I can log into 192.168.1.115 (the problem child)...then ssh into another machine 192.168.1.113 without problem... From the ssh session into .113, I can ping back to .115

On the .115 machine, I typed again:
netstat -l
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sh *:* LISTEN

One final thing:
on the kernel config options, I compiled all of the encryption choices into the kernel (a noob thing to do I'm sure...)

Any direction you could give is much appreciated...
_________________
The next kernel rev has never addressed the basic problem: my innate incompetence.
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Tue Dec 28, 2004 8:03 pm    Post subject: Reply with quote

Is the ssh keys okay? I mean the ones in /etc/ssh
If not, try to recreate these keys. Of course you need to back up the existing keys first.
Back to top
View user's profile Send private message
robasan
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Austin

PostPosted: Tue Dec 28, 2004 8:54 pm    Post subject: Reply with quote

I will try...
can you tell me how to recreate the keys?
I'm 2 Noob 2 know...
And the keys are in /etc/ssh/?
_________________
The next kernel rev has never addressed the basic problem: my innate incompetence.
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Tue Dec 28, 2004 8:59 pm    Post subject: Reply with quote

This howto maybe handy:
http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/

They keys are in /etc/ssh directory. You may want to tar it first.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Mon Jan 03, 2005 7:49 pm    Post subject: Re: Listen Reply with quote

robasan wrote:

I am able to go to yahoo by the following:
links2 http://www.yahoo.com

so your network seems to be ok.
Quote:

Additionally, I can log into 192.168.1.115 (the problem child)...then ssh into another machine 192.168.1.113 without problem... From the ssh session into .113, I can ping back to .115


so ssh to .115 works? or do you mean console login?

Quote:

On the .115 machine, I typed again:
netstat -l
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sh *:* LISTEN

You probably mean "ssh", not only "sh"...

Quote:

One final thing:
on the kernel config options, I compiled all of the encryption choices into the kernel (a noob thing to do I'm sure...)

well, you can't damage anything by doing so, but it has nothing to do with ssh.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum