6

I am using:

  • iPad 3
  • Prompt (SSH app)

There is about a half-second to 1 second lag between pressing a key and displaying on the screen. This happens even if I use an exernal Bluetooth keyboard paired with an iPad.

My friend has a similar issue with SSH on his Android 4.0 ICS tablet.

The server I am connecting to is Amazon EC2 Ubuntu 12.04 instance. When I SSH into it on my laptop it runs flawlessly without any noticeable lag. Why is it so slow on the iPad? What are some possible fixes for this issue?

0

4 Answers 4

9

When it comes to using SSH on Prompt, which is a super awesome piece of software, there is lag for me as well. Now, I SSH into servers all the time because of my job and on my computer, there isn't any lag either, but at the same time, there is lag on my new iPad (3rd Generation).

The lag that you are experiencing is completely normal when it comes to the way SSH works on tablet like devices. The internet connection and the software you are using on a MAC, PC, Linux machine is usually tightly integrated into the system of the machine. Such as with terminal on the Mac, this software is ridiculously refined and made in such a way to be super fast because of its super tight integration.

Prompt and other pieces of iOS software that use SSH are not true terminals like the ones that you have on your MAC, PC, Linux machine. They are pretty much emulations of SSH terminals. All iOS software is sandboxed into its own little area. This sandboxing is good because it provides security but it is back because it doesn't allow certain apps to be as tightly integrated with the system in the same way as a terminal application on your computer. Because of this there is always going to be a bit of lag from when the when you press a key, it has to be sent across the wire to the server, the server has to accept that the key was pressed and then respond to the terminal with a update to what is on screen. Not only that, but the software has to reinterpret through emulation everything it is getting back in the stream from the server, which continues to add to the delay that you are experiencing.

It is the same as using VNC or Remote Desktop, no matter how good of a connection you have or how close you are to the machine you are connected to, there is a still a noticeable delay when refreshing. More so than what you would experience on a much more powerful than an iPad desktop/laptop computer.

In short, there are multiple reasons for the delay, iOS sandboxing, emulation of an SSH environment, hardware specs, software integration. But at the same time, it doesn't mean that the software is useless, Prompt is great and I use it all the time on my new iPad.

You can also read more about what happens during SSH here:

http://www.notesbit.com/index.php/scripts-unix/what-is-ssh-how-does-it-work-your-complete-guide-with-simple-practical-solution-linux-unix-windows/

So, don't worry about your keyboard, there isn't anything wrong with it. I hope that this helps answer your question.

0
0

The keystrokes are sent to the server when you type them and if the servers network connections is slow and it is having to handle many different tasks at once, it may be slow at responding to the information you sent it.

0

I've even SSH'd to 127.0.0.1 on my jailbroken iPhone (with prompt) and I still get a slow response time. But with iSSH and Remoter VNC (with the SSH in-app-purchase) I get a much faster response time, at the penalty of poor support for external keyboards. As far as I can tell, it all depends on the implementation, and despite all of the excellent features in prompt, responsiveness is not one of them. I'm sure this is due to being an emulation of SSH, but I would like to point out that some iOS apps have worse response times than others.

-1

The text that appears when you type do not come directly from your keypad. You should understand how the ssh works. The keystokes are sent to the server and then the display is updated from the server. So, basically the lag is due to the network latency not due to bad keypad.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .