Cygwin

From Informatics

Jump to: navigation, search

You can get it here.

Make sure you get the default packages as well as:

  • get all the X11 packages.
  • under Editors get emacs & xemacs.
  • under Devel get cvs, make (make, not cmake), gcc (gcc-core), and g++ (gcc-g++).
  • under Net get openssh'.

SSH

Avoid Entering Your Password

  • Open cygwin and cd to your .ssh directory in your Windows home (for me this is /cydrive/c/Documents\ and\ Settings/keshav/.ssh). If .ssh doesn't exist, create it.
  • run the following commands:
ssh-keygen -t rsa
scp id_rsa.pub afdev:.ssh
ssh afdev "cd .ssh; cat id_rsa.pub>>authorized_keys"
scp id_rsa adgate:.ssh
  • Make sure your .ssh directory on afdev is not group writable. If it is, run (or ssh onto afdev directly and run this command)
ssh afdev "chmod g-w .ssh/authorized_keys" 
  • Now log out of afdev and your local cygdrive, then start cywin and try to ssh onto afdev ... you should be logged in without typing your password.
Personal tools