Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 29 Apr 2003 23:07:55 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: David T-G cc: cygwin AT cygwin DOT com Subject: Re: sshd and other daemons In-Reply-To: <20030430025803.GB52453@justpickone.org> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 29 Apr 2003, David T-G wrote: > Hi again, all -- > > Since I can't at the moment set up cygwin on my test system... A client > wants me to pop into his machines regularly to take a look around and see > that all is well, as well as perhaps run some backups. I could use VNC > to take over the console but that not only disrupts what he is doing but > requires a GUI and seems so Microsoft ;-) > > Will cygwin let me set up an sshd on the box so that I can log in, get a > bash prompt, and do my looking around or running of scripts? How does it > handle usernames and accounts? [These are Win98 and WinXP (Home?) boxes.] > Has anyone else already jumped this hurdle so that I might not have to do > it all from scratch? > > TIA & HAND > :-D > -- > David T-G David, The process of setting up a working sshd (on a Win NT/2k/XP system) is pretty straightforward and is described in detail in /usr/doc/Cygwin/openssh-VVVV.README, where "VVVV" is the version of the openssh package that you have installed. On NT-derived systems cygwin uses Windows to manage accounts and passwords, so all you do is create an account for yourself on the client's computer (with administrative privileges, hopefully), start sshd, and you're all set. On Win98 the situation is different. First off, there is no way to run a service (yet, there has been some discussion, though). So you'll have to add sshd to the startup sequence, running as one of the users on the machine (probably the one who's logged in). You will also need to add a password to /etc/passwd using 'crypt' (in the "crypt" package). Searching this list should give you some pointers on setting this up. FYI, many people have set up and are happily running sshd, at least on NT/2k/XP systems. > Shpx gur Pbzzhavpngvbaf Qrprapl Npg! Gbb evtug! Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/