LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-29-2007, 08:26 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Reverse SSH and Putty really Slow


1 - setup sshd on my linux box at my office. Created a generic client login.

2 -I setup up putty on my client machines and under tunnel I gave them

R5900 Localhost:5900

R5900 - the port that the client listens on(VNC port)

Localhost:5900 - the port that is forwarded to on the local machine(client)

3 - This is very important. In the VNC administration section, you must enable loopback connections. If not then you will not be able to connect to the VNC host.

4 - then finally from the sshd server I was able to vnc to the localhost:5900 or the ip address of the sshd server or from any machine on that subnet.

Do you have any suggestions on why it is slow? I mean it is slow!
 
Old 06-29-2007, 09:34 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

I'm guessing that VNC thinks it's connected to the localhost instead of over a network link, so is using the maximum quality settings by default.

Try reducing the bit-depth or the RLE settings etc.

Dave
 
Old 06-29-2007, 10:24 AM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
I noticed that in my sshd.conf I had PermitTunnel=NO and in putty the only way I could even get a connection was to enable loopback connections under the adminstrative tab. I have since changed the sshd file to PermitTunnel=YES and I will see of that makes a difference.

PHP Code:
UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
PermitTunnel yes
#Banner /some/path
Subsystem       sftp    /usr/lib/ssh/sftp-server 
I guess the way I had it originally VNC was in control of stuff.

Last edited by metallica1973; 06-29-2007 at 10:26 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slow dhcp and ssh (putty) starmonche Linux - Wireless Networking 2 02-16-2007 04:50 PM
[putty&ssh] Who is really good & expert in ssh https tunnelling and firewalling ? Xeratul Linux - General 12 12-03-2006 03:22 AM
SSH and Putty... Linux~Powered Linux - Security 4 06-15-2006 02:50 PM
SSH using putty rkemp Linux - Networking 3 03-06-2004 05:04 PM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 02:57 AM

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

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