Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Find the real problem instead' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Find the real problem instead
Authored by: britrock on Fri, Dec 28 2007 at 9:45AM PST
If you are having slow ssh connections it makes a LOT more sense to track down the actual problem instead. The solution posted is just a band aid.

To debug an ssh connection simply add the '-v' option. For instance, if the command you would normally run is 'ssh foo@bar.com' then change it to 'ssh -v foo@bar.com'.

You will get a great deal of debug printed on the screen, and most of it won't make sense, but by look at the last bit that is printed before the delay you'll get a good idea what the cause of the problem is. At that point you'll want to read through the man pages for sshd_config, and for ssh_config and hopefully you'll be able to find a setting to fix the problem.

[ Reply to This | # ]
Find the real problem instead
Authored by: cran on Sun, Jan 6 2008 at 7:40AM PST
If you are having slow ssh connections it makes a LOT more sense to track down the actual problem instead. The solution posted is just a band aid.
You are right, it is better to find and fix the problem. But sometimes it just saves a lot of time to work around instead of fixing. I tried to make this clear by putting the word "workaround" in the title instead of "fix".

[ Reply to This | # ]