Windows – SSH, SCP and SFTP Server
Posted by Josh on Wed 21 Mar 2007Categories: Cisco VOIP , SSH , Windows - [18] Comments
This tutorial will show you how to install and configure openssh on a windows box. Uses for an ssh server on a windows machine include secure file copies and secure browsing.
Click Image to play tutorial:

References:
http://digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows
If using OpenSSH for SCP or SFTP, you will need to prefix paths with /cygdrive/
Example: c:\backup = /cygdrive/c/backup
Speed up your office computer system with the Microsoft exchange server. This new product will streamline business files so get your microsoft server program today! You can also condense your email responses with exchange email outsourcing. Provide your business with new exchange 2007 hosting which can increase productivity.
Secure Browsing Tutorial Click Image to play tutorial:

April 1st, 2007 at 5:28 am
wow Thanks a lot. This made it so simpler and now i have sftp on my server. Thanks again for all your effort in this.
April 2nd, 2007 at 5:49 pm
For your “Firewall Piercing Tutorial”, what has to be running on the SSH server in order to be able to actually proxy connections? Ought to be part of your tutorial…
April 2nd, 2007 at 9:03 pm
Nothing is needed except OpenSSH. If both tutorials are followed, it should work.
If your SSH server is Linux, nothing is necessary other than OpenSSH and it is normally installed by default.
April 9th, 2007 at 3:50 pm
“OpenSSh Server” does not show up in my Services list in computer management but everything else up until that point works fine for me. Any ideas?
Thanks for this helpful video tutorial as well.
July 16th, 2007 at 1:28 pm
The tutorial visualizes the instructions extremely well. What I didn’t see clearly in the instructions showed up clearly in the tutuorial. Appreciate that.
Now that I’ve set it up, I can see the designated folder when I use the local address 127.0.0.1, but I can’t seem to connect from another PC. I’m using CuteFTP7 as a client on both the host and other PC. On the host, I see the folder, no connection on the other PC.
Help?
July 16th, 2007 at 2:40 pm
You might check your windows firewall if you are not able to connect to it from another machine.
If you have a group-policy on your windows machine that keeps you from turning off the windows firewall, you can go into services and shut it down manually.
August 24th, 2007 at 11:12 am
I was having a real problem with the syntax for MKGROUP and MKPASSWD. After watching this little ditty it was up and running in minutes. AWSOME IDEA!!!
Thanks man,
Roger
October 15th, 2007 at 5:03 am
hi,
i am having some problem i m doing some R & D on this i try to install it on my machine . i have successfully created group and password but i m not able to see open SSH service in my services list.
how can i run putty…..???
October 15th, 2007 at 11:43 pm
I had the same problem but a reboot fixed it. Do you still have the same issue after a reboot?
For putty….go to google and type putty. Click on the download link. Click ‘putty.exe’ on the putty download page. Then just save it on your hard drive.
November 26th, 2007 at 1:53 am
if you were able to connect locally and not remotely, it could be the firewall. go to Network Connections –> local area connection –> Advanced –> Setting –> Exception tab –> Add port 22.
February 8th, 2008 at 6:25 pm
How do you duplicate the ssh-dummy-shell functionality to limit your openssh server to SFTP and dissallow access to the shell?
Could you add it to your package?
February 8th, 2008 at 10:43 pm
I have not tried this before tonight. I did a little research and could not find a way to do this.
Some forum posts recommended setting the shell to /bin/false, but that did not work for sftp or ssh.
Honestly, I don’t know the answer to this question. If anyone is able to get this to work, I would be interested as well.
October 6th, 2008 at 1:01 pm
I am able to connect to the server throught SFTP by using WINSCP, however, no matter who I logged in as, it always take me to the root directory, I want each user to go to their home folder when they log in, like C:\USERS\testuser…
How to make this happen?
Thanks
October 6th, 2008 at 10:54 pm
Jia,
I recently found a new ssh server that is easier than openssh.
Give this a try.
http://www.freesshd.com/
Josh
November 26th, 2008 at 1:26 pm
Thanks for this tutorial. Saved me hours!
Tom
April 12th, 2009 at 10:32 pm
Another good option is CompleteFTP Server, a fast, lightweight SFTP server designed for Windows. It supports FTP and FTPS as well as integration with Windows accounts.
April 19th, 2009 at 8:24 am
Bruce,
Thanks for the tip!
Josh
August 11th, 2009 at 1:09 am
I get
“Cannot display location ’sftp://eddy@192.168.x.xxx/’
Host key verification failed”
when i try to ssh into my windows XP PC using my Ubuntu 8.10 computer. Any idea what the problem could be.
p.s. i tried adding port 22 to the exceptions on XP and installing Samba on Ubuntu.