(Press-News.org) CAMBRIDGE, Mass. -- The Secure Shell, or SSH, is a popular program that lets computer users log onto remote machines. Software developers use it for large collaborative projects, students use it to work from university servers, customers of commercial cloud-computing services use it access their accounts, and system administrators use it to manage computers on their networks.
First released in 1995, SSH was designed for an Internet consisting of stationary machines, and it hasn't evolved with the mobile Internet. Among other problems, it can't handle roaming: If you close your laptop at the office and reopen it at home, your SSH session will have died; the same goes for an SSH session on a tablet computer that switches from a Wi-Fi connection to the cellular network.
At the Usenix Annual Technical Conference in Boston this month, researchers at MIT's Computer Science and Artificial Intelligence Laboratory presented a paper describing a new remote-login program called Mosh, for mobile shell, which solves many of SSH's problems. The researchers also believe that the communication scheme underlying Mosh could improve the performance of a host of other mobile applications.
Even before they presented the paper, they made Mosh freely available on a number of different websites; it's now been downloaded at least 70,000 times. "That's from the ones that we're able to track," says Keith Winstein, a graduate student in MIT's Department of Electrical Engineering and Computer Science and lead developer of Mosh.
Besides roaming, another of the problems that Mosh addresses is the delayed "echoing" of keystrokes in SSH. During a standard SSH session, when a user strikes a key on the keyboard, nothing appears onscreen until information about the keystroke travels to the remote machine, which performs a computation and sends back the result. That's because, in many applications commonly run through SSH, keystrokes don't necessarily correspond directly to displayed symbols: In an email program, for instance, the "N" key might call up the next email; similarly, when a user enters a password, it shouldn't appear onscreen.
Mosh has an algorithm running in the background that deduces when keystrokes should be displayed and when they shouldn't. Until the remote computer confirms Mosh's predictions, the characters onscreen are underlined. "I have never seen it display anything wrong," says Hari Balakrishnan, a professor in the Department of Electrical Engineering and Computer Science and Winstein's coauthor on the Usenix paper.
The reason Mosh handles roaming so much better than SSH does is that it abandons the Transmission Control Protocol, or TCP — the framework that governs almost all the traffic in today's Internet.
"TCP has some wonderful ideas embedded in it — congestion control, ways of doing reliability and so forth," Balakrishnan says. "But it has this one big, big problem: It provides a reliable, in-order byte-stream abstraction between two fixed endpoints. If you were to pick the worst possible abstraction for the mobile world, it would be that."
With mobile applications, Balakrishnan explains, it's not as crucial that every byte of information be displayed in exactly the order in which it was sent. If you've lost connectivity while using the map application on a smartphone, for instance, when the network comes back up, you probably want an accurate map of your immediate surroundings; you don't want to wait while the phone reloads data about where you were when the network went down.
Winstein and Balakrishnan developed their own communications protocol, which they call SSP, for state synchronization protocol. SSP, Balakrishnan says, works more like the protocols that govern videoconferencing, where getting timely data about the most recent state of the application is more important than getting exhaustive data about previous states.
Mosh is already proving itself useful: At his computer in his office, Balakrishnan pulls up the connection log for one of the servers in MIT's Athena network; a third of the people logged into it are using Mosh. But in ongoing research, Winstein and Balakrishnan are investigating how SSP can be improved and extended so that other applications can use it as well.
"We have sort of a broader agenda here," Winstein says. "Mosh is a gracefully mobile application. But there's a lot of even more popular network applications that have the same problems, like Gmail, or Google Chat, or Skype. None of these programs gracefully handle mobility, even though they're intended for mobile devices."
INFORMATION:
Written by Larry Hardesty, MIT News Office
END
If popular karaoke bars and the long audition lines for American Idol demonstrate anything, it's that people like to express themselves through song — and the bigger the audience, the better. Now researchers at Tel Aviv University have found the same trait in small, rodent-like mammals called hyraxes, indigenous to Africa and the Middle East.
According to Prof. Eli Geffen and PhD candidate Amiyaal Ilany of TAU's Department of Zoology, hyrax vocalizations or "songs" go a long way towards communicating the singer's unique identity. Each one has unique songs that communicate ...
Bethesda, MD—Not only does the type of flu virus affect a patient's outcome, but a new research report appearing in the Journal of Leukocyte Biology suggests that the number of viruses involved in the initial infection may be important too. Scientists from Canada found that when mice were infected by relatively high concentrations of the flu virus, they not only developed immunity against the virus that infected them, but this also promoted the generation of a type of immune cell in the lungs poised to rapidly react against infections with other strains of the flu, as well. ...
In searching for better flame retardants for home furnishings—a large source of fuel in house fires—National Institute of Standards and Technology (NIST) researchers defied the conventional wisdom and literally hit a wall, one made of clay.
It wasn't a dead end, but rather a surprising result that may lead to a new generation of nonhalogenated, sustainable flame retardant technology for polyurethane foam. The thick, fast-forming coating that the NIST team created has a uniformly high concentration of flame-inhibiting clay particles, and it adheres strongly to the Swiss ...
Montreal, June 28, 2012 – Poetry has been following the rules for centuries. From the strict structure of the haiku to the rhythmic rhyme of the ballad, verse can be daunting to both professional poets and amateur auteurs. But poems are also media for the masses and one Concordia researcher is using mass media to put them back in the hands of the people.
Jason Lewis's work is an integral part of Concordia's Department of Design and Computation Arts, with projects ranging from computer game development to typographic design. A poet as well as a techie, the associate professor ...
In an important step towards more practical quantum information processing, researchers from the National Institute of Standards and Technology (NIST), the University of California, San Diego; and the Politecnico di Milano in Milan, Italy, have demonstrated the first heralded single photon source made from silicon. This source complements two other recently developed silicon-based technologies—interferometers for manipulating the entanglement of photons and single photon detectors—needed to build a quantum optical circuit or a secure quantum communication system.
The ...
New Rochelle, NY, June 28, 2012—Games that promote health can improve the well-being of employees, saving employers direct and indirect health care costs. Employers can more readily reap these benefits by offering game-based services that educate their employees about health and wellness and improve physical and psychological fitness, according to an Editorial in Games for Health Journal a peer-reviewed publication from Mary Ann Liebert, Inc. The Editorial is available free on the Games for Health Journal website.
"Wellness programs using health games have the potential ...
(Boston) -- In a genome-wide association (GWA) study, researchers from Boston University Schools of Medicine (BUSM) and Public Health (BUSPH) have identified several genes which influence degeneration of the hippocampus, the part of the brain most associated with Alzheimer disease (AD). The study, which currently appears online as a Rapid Communication in the Annals of Neurology, demonstrates the efficacy of endophenotypes for broadening the understanding of the genetic basis of and pathways leading to AD.
AD is a progressive neurodegenerative disorder for which there ...
CHESTNUT HILL, MA (June 28, 2012) – Harnessing the power of the sun has inspired scientists and engineers to look for ways to turn sunlight into clean energy to heat houses, fuel factories and power devices. While a majority of this research focuses on energy production, some researchers are looking at the potential uses of these novel solar technologies in other areas.
Boston College Assistant Professor of Chemistry Dunwei Wang's work with silicon nanowires and his related construct, Nanonets, has shown these stable, tiny wire-like structures can be used in processes ...
Archaeologists working at the site of La Corona in Guatemala have discovered a 1,300-year-old-year Maya text that provides only the second known reference to the so-called "end date" of the Maya calendar, December 21, 2012. The discovery, one of the most significant hieroglyphic finds in decades, was announced today at the National Palace in Guatemala.
"This text talks about ancient political history rather than prophecy," says Marcello A. Canuto, director of Tulane's Middle American Research Institute and co-director of the excavations at La Corona.
Since 2008, Canuto ...
Training sessions for Team GB's swimmers have been getting a helping hand from a new system incorporating cutting-edge movement tracking and sensor technologies.
From starting dives to tumble turns the state-of-the-art coaching aid is the first of its kind to be able to track movement wirelessly through water.
The system has been developed at Loughborough University's Sports Technology Institute in conjunction with British Swimming, with funding from the Engineering and Physical Sciences Research Council (EPSRC). Other partners are UK Sport, Imperial College London ...