install ssh windows

October 14, 2011

How can you install ssh on windows?

Follow this step-by-step how to:

How to install a ssh client (called ssh, from OpenSSH)

(1) Create a folder c:\cygwin

(2) g Download cygwin’s setup.exe from http://www.cygwin.com/ and save setup.exe in c:\cygwin

Click Start…Run…and type c:\cygwin\setup.exe

When it asks for “Local Package Directory”, type c:\cygwin
When a selection screen comes up, you can resize the windows to see better,
click the little View button for “Full” view  g,
find the package “openssh”, click on the word “skip” so that an  appears in Column B,
see this illustration.

Click next to start installing cygwin and ssh.
Size of the basic cygwin system is about 40 Meg, this may take a while if you have a slow connection.

Take a coffee break. g

(3) Right click My Computer, Properties, Advanced, Environment Variables
See this illustration (red dots)
Click the “New” new button to add a new entry to system variables:
variable name is CYGWIN 
variable value is ntsec      or     tty ntsec

(4) Right click My Computer, Properties, Advanced, Environment Variables
See this illustration (green dots)
Select the Path variable and click the “Edit” edit button:
append  ;c:\cygwin\bin   to the end of the existing variable string.

(5) Double click the g icon, a black screen will pop up.
Optional:  type
ssh-user-config this will create private and public key for the user.


You can also use putty (an excellent freeware g ssh client).

Just download and run putty.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/

 

 

Source: http://pigtail.net/LRP/printsrv/cygwin-ssh.html