54

Question: How to use ssh & scp from the Windows command prompt?

I remember I installed a program in the past that let me do this but can't remember now what it was.

Note: I do not want to use putty.

arka.b
  • 204
  • 2
  • 13
hoju
  • 28,392
  • 37
  • 134
  • 178

4 Answers4

26

New, resurrected project site (Win7 compability and more!): http://sshwindows.sourceforge.net

1st January 2012

  • OpenSSH for Windows 5.6p1-2 based release created!!
  • Happy New Year all! Since COpSSH has started charging I've resurrected this project
  • Updated all binaries to current releases
  • Added several new supporting DLLs as required by all executables in package
  • Renamed switch.exe to bash.exe to remove the need to modify and compile mkpasswd.exe each build
  • Please note there is a very minor bug in this release, detailed in the docs. I'm working on fixing this, anyone who can code in C and can offer a bit of help it would be much appreciated
Richard de Wit
  • 7,102
  • 7
  • 44
  • 54
hoju
  • 28,392
  • 37
  • 134
  • 178
  • 9
    The linked website does not work: Error code: ERR_TOO_MANY_REDIRECTS – floriank Aug 20 '13 at 11:15
  • The link is still broken (1 year after @burzum's comment). – Marcus Bitzl Jul 30 '14 at 11:33
  • 2
    Even though the site now works again - the download files it takes you to, suggests that it is still the 2004 version. However there is a page on the main OpenSSH site with Windows installers: http://www.mls-software.com/opensshd.html – icc97 Oct 31 '14 at 00:37
  • 4
    Don't use the software linked to in the answer. It removes your entire system path variable. – Ozymandias Dec 27 '16 at 16:37
  • 1
    This is working for me in Windows 7, but wiped my path like others mentioned (I backed up after reading comments here and on the site) – Charlie Wynn Feb 15 '17 at 14:39
15

Cygwin can give you this functionality.

Wilduck
  • 13,822
  • 10
  • 58
  • 90
7

Try WinScp

hallie
  • 2,760
  • 19
  • 27
  • WinSCP scripting reference: http://winscp.net/eng/docs/scripting; or a guide to a scripting: http://winscp.net/eng/docs/guide_automation – Martin Prikryl Jun 18 '14 at 09:58
0

Give http://www.privateshell.com/ a shot.

Trevor
  • 55,264
  • 2
  • 18
  • 12