This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd and other daemons


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]