Re: Setting up a ssh service

2007-02-25 Thread Thorsten Kampe
* Gregg Levine (Sat, 24 Feb 2007 21:48:21 -0500)
 Obviously it should be part of the base documents, and I know I have
 read them. I'll do more of that before I ask a question that is more
 of a case of RTMF.

I definitely wouldn't recommend to read the manual fu

Thorsten


--
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/



Re: Setting up a ssh service

2007-02-25 Thread Gregg Levine

On 2/25/07, Thorsten Kampe [EMAIL PROTECTED] wrote:

* Gregg Levine (Sat, 24 Feb 2007 21:48:21 -0500)
 Obviously it should be part of the base documents, and I know I have
 read them. I'll do more of that before I ask a question that is more
 of a case of RTMF.

I definitely wouldn't recommend to read the manual fu

Thorsten


--
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/



Hello!
Early on, on this list, without naming names, that is exactly what it
seemed like. Now, no. But anything can happen, and it usually does.

--
Gregg C Levine [EMAIL PROTECTED]
This signature was once found posting rude
messages in English in the Moscow subway.

--
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/



Re: Setting up a ssh service

2007-02-25 Thread Christopher Layne
On Sat, Feb 24, 2007 at 05:10:35PM -0800, Brian Dessent wrote:
 Web Developer wrote:
 
  add a new entry to system variables:
  New variable name is CYGWIN, variable value is ntsec
 
 Why do people keep repeating this chestnut?  'ntsec' is the default. 
 There is no need to have it in CYGWIN.  Having CYGWIN=ntsec is a no-op. 
 This does nothing.
 
 Brian

It's in the SSH doc.

BTW: I've had the funky SSH issues before where nothing at all works. My
solution was pretty much voodoo based:

1. Delete every single ssh, ssh_server, ssh-related user manually. Delete
these users from /etc/passwd as well as the windows side of the things.
2. Delete every dynamically generated ssh file - keys, config, etc.
3. Run ssh-host-config again.

--
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/



Re: Setting up a ssh service

2007-02-25 Thread Charles D. Russell

Christopher Layne wrote:

BTW: I've had the funky SSH issues before where nothing at all works. My
solution was pretty much voodoo based:

1. Delete every single ssh, ssh_server, ssh-related user manually. Delete
these users from /etc/passwd as well as the windows side of the things.
2. Delete every dynamically generated ssh file - keys, config, etc.
3. Run ssh-host-config again.



I've gotten cygwin ssh to work on my home network, but after it broke 
for the second time I felt it was just too much hassle to
reinstall.  For me ssh is a convenience, not a necessity.  Would rsh be 
any easier  to maintain?  I would gladly trade security for convenience.



--
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/



Re: Setting up a ssh service

2007-02-25 Thread Christopher Layne
On Sun, Feb 25, 2007 at 12:18:31PM -0600, Charles D. Russell wrote:
 Christopher Layne wrote:
 
 BTW: I've had the funky SSH issues before where nothing at all works. My
 solution was pretty much voodoo based:
 
 1. Delete every single ssh, ssh_server, ssh-related user manually. Delete
 these users from /etc/passwd as well as the windows side of the things.
 2. Delete every dynamically generated ssh file - keys, config, etc.
 3. Run ssh-host-config again.
 
 
 
 I've gotten cygwin ssh to work on my home network, but after it broke 
 for the second time I felt it was just too much hassle to
 reinstall.  For me ssh is a convenience, not a necessity.  Would rsh be 
 any easier  to maintain?  I would gladly trade security for convenience.

There's not really much to maintain after you install it the first time.
It only takes maybe 20 minutes to work out any inconsistencies. Don't
even think of rsh or rlogin.

-cl

--
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/



Setting up a ssh service

2007-02-24 Thread Gregg Levine

Hello!
There is probably documentation someplace, but I confess was not able
to find it. I am therefore requesting suggestions for setting up an
ssh service here, via Cygwin.

Furthermore, I'll even offer Google Mail invites for those of you who
do not want to use their registration mechanism,
--
Gregg C Levine [EMAIL PROTECTED]
This signature was once found posting rude
messages in English in the Moscow subway.

--
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/



Re: Setting up a ssh service

2007-02-24 Thread Christopher Faylor
On Sat, Feb 24, 2007 at 02:43:46PM -0500, Gregg Levine wrote:
There is probably documentation someplace, but I confess was not able
to find it.  I am therefore requesting suggestions for setting up an
ssh service here, via Cygwin.

Cygwin documents are in /usr/share/doc/Cygwin.

--
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/



Re: Setting up a ssh service

2007-02-24 Thread Web Developer

I had made these instructions copied off somewhere a while back for
setting up sshd service on windows...

add a new entry to system variables:
New variable name is CYGWIN, variable value is ntsec

Also add to the Path system variable and click the Edit edit button
and append to it:
;c:\cygwin\bin


open cygwin...
(make sure openssh is installed, if not get it by running cygwin's setup.exe)
Run:

ssh-host-config  (on slower computers, it may take several minutes to generate 
the dsa keys)

When the script asks you about privilege separation, answer yes
When the script asks you about install sshd as a service, answer yes
When the script asks you for CYGWIN= your answer is ntsec

start the sshd service

net start sshd

(or

cygrunsrv  -S  sshd)



harmonize Windows user information with cygwin, otherwise users cannot
log into shh.
mkpasswd creates a password file from Windows' user list...include
Windows security information, but the actual passwords are determined
by Windows, not by the content of /etc/passwd.
mkgroup creates a group file from Windows' user list

mkpasswd   --local  /etc/passwd
mkgroup   --local   /etc/group



enjoy,
Arian

--
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/



Re: Setting up a ssh service

2007-02-24 Thread Brian Dessent
Web Developer wrote:

 add a new entry to system variables:
 New variable name is CYGWIN, variable value is ntsec

Why do people keep repeating this chestnut?  'ntsec' is the default. 
There is no need to have it in CYGWIN.  Having CYGWIN=ntsec is a no-op. 
This does nothing.

Brian

--
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/



Re: Setting up a ssh service

2007-02-24 Thread Gregg Levine

On 2/24/07, Brian Dessent [EMAIL PROTECTED] wrote:

Web Developer wrote:

 add a new entry to system variables:
 New variable name is CYGWIN, variable value is ntsec

Why do people keep repeating this chestnut?  'ntsec' is the default.
There is no need to have it in CYGWIN.  Having CYGWIN=ntsec is a no-op.
This does nothing.

Brian

--
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/




Hello!
Brian, CGF, (and the first correspondent after CGF) the facts were
that I knew I had seen that string of events documented someplace.
But, ah, I had misplaced it. It does work. And much like the Linux
boxes I know as it happens.

Obviously it should be part of the base documents, and I know I have
read them. I'll do more of that before I ask a question that is more
of a case of RTMF.

--
Gregg C Levine [EMAIL PROTECTED]
This signature was once found posting rude
messages in English in the Moscow subway.

--
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/