View previous topic :: View next topic |
Author |
Message |
picklestix n00b
Joined: 15 Jan 2005 Posts: 72
|
Posted: Tue Apr 04, 2006 12:36 am Post subject: Need help, ssh under X[solved] |
|
|
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 |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Tue Apr 04, 2006 1:24 am Post subject: |
|
|
Maybe there is some clue in the sshd log files on the host machine. |
|
Back to top |
|
|
picklestix n00b
Joined: 15 Jan 2005 Posts: 72
|
Posted: Tue Apr 04, 2006 3:26 am Post subject: |
|
|
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 |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Tue Apr 04, 2006 3:39 am Post subject: |
|
|
Google(buffer_get_ret) leads to:
http://www.webservertalk.com/archive94-2006-1-1369471.html
Try turning off compression on the server side:
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 |
|
|
picklestix n00b
Joined: 15 Jan 2005 Posts: 72
|
Posted: Tue Apr 04, 2006 5:00 am Post subject: |
|
|
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 |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
|
Back to top |
|
|
picklestix n00b
Joined: 15 Jan 2005 Posts: 72
|
Posted: Tue Apr 04, 2006 6:54 am Post subject: |
|
|
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 |
|
|
|