SSH Server for Windows using Cygwin
From: ratlung (ratlung@gmx.de)Date: 10/22/02
- Next message: Betelgeux: "Re: ssh over machine without ssh"
- Previous message: : "Re: allow access from a whole host to a single user without hosts.equiv"
- Next in thread: Nico Kadel-Garcia: "Re: SSH Server for Windows using Cygwin"
- Reply: Nico Kadel-Garcia: "Re: SSH Server for Windows using Cygwin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: ratlung@gmx.de (ratlung) Date: 21 Oct 2002 18:49:48 -0700
Hi guys,
Today I was looking for a SSH Server that I can run under Windows.
Unfortunately I was not able to find much, so I just went ahead and
tried Cygwin, what I always wanted but never got to, probably because
I had no reason.
But now, since it is so easy, I though I write a little tutorial for
all of you who run into the same problem.
First you want to download the cygwin setup program @:
http://www.cygwin.com/setup.exe
Just run the setup program and follow the installation instructions
until you get to the point where you can choose the packages to
install. Here you want to install all the default package plus the
openssh and maybe openssl package from the net section, and probably
some editor like vim or emacs. If you like you can probably use bzip2,
less or some other utilities, but those are not important for the
openssh setup. And then you can start the download.
After installation you need to start cygwin using the brand new icon
on your desktop. First you might want to setup a password if you
haven't done that. But carefully, the passwd command at cygwin also
changes you password under Windows. And additionally, I tried all
those things under Win XP I am not sure if it will work under Win98,
because I had trouble setting the password. Some .dll was wrong.
Now you are ready to configure the SSH Daemon. Just type
/usr/bin/ssh-host-config. Answer most of the questions with yes or the
default value except the one about privelege separation, here say no.
Unfortunately this seems no to work because of some ownership
problems, and it decreases the amount of security provided. So don't
spread your IP addy to anyone, afterall it is running on a Microsoft
OS. The same is true for the amount of security that the cygwin
provides, it appears that you only have access to the subdirectories
of the cygwin dir but you never know. I would be carefull about
letting the ssh deamon run all day long or at least have a tight
firewall setting, which only allows know ip's access to your system.
But nevertheless now you are ready to run you just configured ssh
deamon by typing /usr/sbin/sshd.exe.
Now you can even close cygwin and take a look at the Task Manager
there it is your sshd.exe. If you want to end that process just select
it in the Task Manager and click on End Process, then you are save for
sure.
Now anyone with a SSH Client, the right IP - addy, username and
password can access your computer. For confinient file sharing I would
recommend winscp 2.0 or putty.
Have fun sharing your files
Chris
- Next message: Betelgeux: "Re: ssh over machine without ssh"
- Previous message: : "Re: allow access from a whole host to a single user without hosts.equiv"
- Next in thread: Nico Kadel-Garcia: "Re: SSH Server for Windows using Cygwin"
- Reply: Nico Kadel-Garcia: "Re: SSH Server for Windows using Cygwin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|