Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to use SSH from the Windows 7 command line as a client only. I CANNOT use a GUI.

Is Cygwin the best (easiest) option?

If so, how do I remove the server capabilities as this workstation will only be a client?

share|improve this question
1  
Cygwin doesn't install an SSH server? I don't think there's anything you need to remove. Do a minimal install and add ssh. –  pjc50 Oct 4 '12 at 15:40
add comment

2 Answers 2

I suggest you use Plink from the author of putty. It's a standalone .exe file which does just that - connect via SSH/Telnet to remote server on the command line.

share|improve this answer
2  
It makes a very poor SSH client, however, due to the complete (and intentional) lack of terminal emulation. –  grawity Oct 4 '12 at 16:05
add comment
up vote 2 down vote accepted

Thanks @pjc50

Cigwyn default installs as a client. Configuration is required to make it a server.

From install Cygwin as Client and Server

At a minimum, to setup SSHD you must open a Cygwin window (by double clicking the Cygwin icon) and type:
ssh-host-config 
You will prompted to answer a few questions. The questions will vary depending on whether you want to run SSHD as a service or not. Once completed, start the SSHD server. Started as a service:
net start sshd 
Started on the command line within a Cygwin shell:
/cygwin/sbin/sshd
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.