Hood College

Department of Computer Science



Hood College




Document List

Adding an Icon
Adding a Menu Item
Changing Directory/File Permission Using Linux Command Line
Cleaning Your Home Directory
Creating Your Web Site
Getting Started with Subversion
HT 319 Computers
Linux for CS courses
Obtaining Your Account on CS Servers
Printing Multiple slides per Page for OpenOffice.org 2.0 Impress
Printing Your Graphic Output
Setting up Cygwin and SSH on Windows XP
Sharing Files between Windows and Linux
Using USB Memory Stick

Getting access MSDNAA Software
Converting SDC Package to ISO Image Issue
Visual Studio 2005 Installation Issue



Computer Science
Mathematics
Hood College
IT Support

Google

Printing Friendly Format

Setting up Cygwin and SSH on Windows XP


1. Download cygwin from http://cygwin.com/. Run the setup program and select the packages; get the default packages and the following packages.

  • "cygrunsrv" from the admin

  • "openssh" from the net

  • "X-start-menu-icons"

  • "X-startup-scripts" from X11

2. Edit C:/cygwin/Cygwin.bat. Add the following setting for the CYGWIN environmental variable:

      set CYGWIN=binmode tty ntsec

3. Start a cygwin bash shell; start -> programs -> cygwin.

4. Check that cygrunsrv is installed by typing "cygrunsrv -S sshd". It should responds with an error from cygrunsrv like "service does not exist". If getting "command cygrunsrv not found", install cygrunsrv.

5. Run ssh-host-config. Answer yes to all the questions.

6. Start X window system with "startx" from Cygwin bash shell.

7. Connect with ssh to a remote server from xterm, a graphic terminal.

      ssh -Y login_name@wyrd.hood.edu

      The parameter -Y enables trusted X11Forwarding.

8. Start a graphic program, such as:

      kate &





Frederick, Maryland           E-mail:  w3admin @ pluto.hood.edu