Archive for the ‘ssh’ category

Linux GUI on Your Windows Desktop Through the Magic of Xming

May 18th, 2010

I decided to write down a short introduction to Xming. For those not in the know Xming is an implementation of the X Window System for Microsoft Windows operating systems. This means that you can install this software on Windows, run a remote linux program that requires a graphical interface and see the result on your local computer. Visit the Xming home page and see the screenshots if it seems difficult to wrap your mind around the concept.

Download the latest version of Xming software from their home page and install it. Prepare the remote linux machine by connecting to it via SSH and checking if the file /etc/ssh/sshd_config contains an uncommented line

SSH with Java

July 8th, 2009

Recently I needed to do some server manipulation over the SSH-2 protocol from a Java client program. There are quite a few choices of SSH libraries for Java out there. Usually I prefer BSD license whenever possible, so I thought I’ll give Ganymed SSH-2 for Java a try. It turned out to be pretty simple to use. Here’s a short example of how to connect to the server using the private key and execute some command.