Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help, ssh under X[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
picklestix
n00b
n00b


Joined: 15 Jan 2005
Posts: 72

PostPosted: Tue Apr 04, 2006 12:36 am    Post subject: Need help, ssh under X[solved] Reply with quote

I'm trying to connect 2 home networked computers together via ssh, networked through a wireless access point.

I have sshd running on the host computer, and can successfully login from my client box via ssh in a terminal.

When trying the connection in an xterm or konsole however, immediatly after connecting I get
Code:

Disconnected; connection lost (Connection closed.).
Connection to *hostname* closed.


I've enabled X fowarding in the host side sshd config and the ssh config on the client, although I don't understand why this would be needed. X forwarding would be nice but I really just need the ssh for doing remote system updating via portage so it's really not needed...


Last edited by picklestix on Tue Apr 04, 2006 6:54 am; edited 1 time in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Tue Apr 04, 2006 1:24 am    Post subject: Reply with quote

Maybe there is some clue in the sshd log files on the host machine.
Back to top
View user's profile Send private message
picklestix
n00b
n00b


Joined: 15 Jan 2005
Posts: 72

PostPosted: Tue Apr 04, 2006 3:26 am    Post subject: Reply with quote

BitJam wrote:
Maybe there is some clue in the sshd log files on the host machine.


After the accepted password line I get
error: buffer_get_ret: trying to get more bytes 1 than in buffer 0
error: buffer_get_char_ret: buffer_get_ret failed
fatal: buffer_get_char: buffer error

I didn't come up with anything yet on google but i'll keep looking...
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Tue Apr 04, 2006 3:39 am    Post subject: Reply with quote

Google(buffer_get_ret) leads to:
http://www.webservertalk.com/archive94-2006-1-1369471.html

Try turning off compression on the server side:
Code:
Compression no

You might have to turn it off on the client as well.

This is not optimal but it might get you up and running.
Back to top
View user's profile Send private message
picklestix
n00b
n00b


Joined: 15 Jan 2005
Posts: 72

PostPosted: Tue Apr 04, 2006 5:00 am    Post subject: Reply with quote

Disabling compression didn't help for me...It worked a few weeks back and I haven't done anything other than package updates....Does anyone have ssh logins working from within modular X?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Tue Apr 04, 2006 6:13 am    Post subject: Reply with quote

It certainly works for me right out of the box.

Here is another link from the Google(buffer_get_ret) that proposes a solution to your problem.
http://www.webprodevelopment.com/BrightLight/archives/11-Fixing-a-SSHd-error.html
Back to top
View user's profile Send private message
picklestix
n00b
n00b


Joined: 15 Jan 2005
Posts: 72

PostPosted: Tue Apr 04, 2006 6:54 am    Post subject: Reply with quote

Stupid me. Thanks for your help.

I had 'openssh' installed on the server, and 'ssh' installed on the client.

Works great now!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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