Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone knows which I should use with an example (for example unzipping a file) ?

I'm not asking for a SSH Windows Client by Command Line (I already have Tunnelier), I'm asking how to script ssh from DOS BATCH file.

share|improve this question
Since you've already got your heart set on Tunnelier, you're going to need to read the docs on it. This solution is going to be specific to the application you are using and its capabilities. – MDMarra Oct 31 '09 at 17:37
Install a ssh client. Call that ssh client from within your BATCH file. – Nifle Oct 31 '09 at 17:40
Doesn't this work? – Nifle Oct 31 '09 at 17:42
Great I didn't know about it. – asksuperuser Oct 31 '09 at 22:20
up vote 0 down vote accepted

SSHWindows.SourceForge.Net (emphasis mine):

OpenSSH for Windows

OpenSSH for Windows is a free package that installs a minimal OpenSSH server and client utilities in the Cygwin package without needing the full Cygwin installation.

The OpenSSH for Windows package provides full SSH/SCP/SFTP support. SSH terminal support provides a familiar Windows Command prompt, while retaining Unix/Cygwin-style paths for SCP and SFTP.

share|improve this answer
If I need to install Cygwin ... I already use Tunnelier so that's not my question ;) – asksuperuser Oct 31 '09 at 16:19
without needing the full Cygwin installation – Nifle Oct 31 '09 at 17:38
ok thanks, will try it also. – asksuperuser Oct 31 '09 at 22:21

You must log in to answer this question.