Laggy SSH server

Dan03

New Member
I have a SSH server set up on a very stable connection in the UK, and am connecting through a very stable connection in Turkey. Yet I keep getting huge lag spikes, usually around 5 seconds to 15 seconds, sometimes timing out completely. Sometimes it seems worse than others and sometimes its not so bad. Any ideas what could be causing it? I connect via putty and have compression enabled.
 
Just start ruling things out.
- Have you actually checked if both connections are stable? Setup a ping to a public website or something
- Change client program (i love bitvise tunnelier for tunneling)

If that doesn't reveal an issue i've got a couple of questions:
- What server os?
- What server software?
- What authentication method (password or keys)?
- What encryption method?
 
Just start ruling things out.
- Have you actually checked if both connections are stable? Setup a ping to a public website or something
- Change client program (i love bitvise tunnelier for tunneling)

If that doesn't reveal an issue i've got a couple of questions:
- What server os?
- What server software?
- What authentication method (password or keys)?
- What encryption method?

Well I never have any lag when using either of the networks normally, only when one is connected through the other, I will give bitvise a try but I really dont feel like putty is the problem.

To your questions,
the server was setup with cygwin, the server is windows vista and unfortunately on an average spec laptop computer. Might this be the problem? I wasnt aware the ssh servers needed a huge amount of memory for only 1 client to connect.

I log in using my windows username and password, which happens to be the same one that is logged in with the server running on it. The encryption method Im afriad I dont know, I set it up from a tutorial so just followed what ever they said.

What do ya think?
 
Putty probably isn't the problem. Just ruling it out.

Cygwin is just a collection of libraries used to port linux application to windows if i remember correctly. Never used it though. Ssh doesn't really need to high specs. Open a task manager on your server to check it if the problem arises.

I don't really have any experience with cygwin but if you're sure about the internet connection and putty being stable that's really the only problem area left.

Openssh on linux (ubuntu for example) is a breeze to set up. But you would have to reïnstall the server that way. Or run a virtual machine on it with something like virtualbox.
Other option would be too take a native windows ssh server. I currently use bitvise. The interface isn't really easy but i found it very stable up onto now. Works really nice for ssh tunneling and sftp.
 
Oh Bitvise is also a server as well as a client? Maybe I will give that a try, either I have some bad settings or the cygwin isnt running well for some reason it will cover a lot of possibilities. Problem is im a complete newbie when it comes to this kind of thing. Ill give it a shot anyway and post back the results :)
 
They seem to have pretty good documentation. Probably lots of guides too on the internet. And seeming as you've already got a ssh server running you don't need to bother with other stuff like port forwarding and configuring a firewall.

One other i like about winsshd is that you can configure it from the cliënt program. No need to RDP or VNC or whatever to the server to configure it.
 
Back
Top