LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2003, 04:02 PM   #1
polarcat
LQ Newbie
 
Registered: Nov 2000
Posts: 16

Rep: Reputation: 0
ssh connection problems


I am running Slackware-Current (as of Feb. 12). My ssh version is OpenSSH 3.5p1 with OpenSSL 0.9.6h. I am having a couple of problems.

When I ssh to other computers my x11 forwarding doesn't work. I have set X11Forward to yes in the ssh_config file and I am using the -X switch on ssh.

My other problem is with sshd. The program runs just fine and everything, but when I connect via ssh to my computer the connection always freezes when I do an ls on a large directory or anytime I try and do an scp.

Anyone have any ideas as to why this would happen.

I don't think it matters but I am using the 2.4.20 kernel.
 
Old 02-16-2003, 10:15 PM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
in the ssh_config file, or the sshd_config file? ssh_config is the global CLIENT config file, sshd_config is the SERVER config file

verigoth
 
Old 02-16-2003, 10:55 PM   #3
polarcat
LQ Newbie
 
Registered: Nov 2000
Posts: 16

Original Poster
Rep: Reputation: 0
I understand that, that is why I put the X11Forward yes in the ssh_config when I wanted to use X11 forwarding when sshing to other computers. Hence when I was the CLIENT.

The problem I am having is the connection hangs when I am the SERVER and I cannot seam to get x11 forwarding to work when I am the CLIENT. I have other linux machines with the same setup and they work using the same methods for x11 fowarding (as a CLIENT), the same system for starting sshd (it runs out of daemon tools), and the same sshd_config and ssh_config files.
 
Old 02-16-2003, 11:11 PM   #4
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
you need to enable X11 forwarding in the sshd_config file of the server as well. I suppose I could have been less brief. Sorry about that
 
  


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 connection TL3 Linux - Newbie 2 11-22-2005 02:19 AM
SSH Connection Problems mac_casey Mandriva 1 10-07-2004 09:55 PM
SSH Connection dn7 Linux - Security 16 09-01-2004 11:34 PM
problems getting remote ssh/X connection working fabs Linux - Newbie 6 03-01-2004 10:24 PM
SSH connection problems psodba Linux - Networking 3 08-30-2001 01:37 PM

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

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