Mail Archives: cygwin/2000/11/03/15:11:29
My CygWin install (from 30-Oct-2000) is on an NT4/SP6a workstation.
Here are my install steps. Something is obviously not right, because
running ssh.exe on a remote vanila (no CygWin) NT box to it does not
connect.
Help?
1.
Copied CygWin contents to local HD, installed everything from setup.exe into
c:\progra~1\cygwin (I like to use the short name for Program Files and keep
everything there).
2.
Setup the HKLM path to include
C:\PROGRA~1\cygwin\bin;C:\PROGRA~1\cygwin\usr\local\bin;c:\progra~1\cygwin\u
sr\sbin
3.
CD to c:\progra~1\cygwin\usr\sbin
4.
Type inetd --install-as-service
5.
Create local group "CygWin InetD".
6.
Create test user "joe", added him to above group.
7.
Added these user rights fo System, Administrators, CygWin Ietd:
Act as Part of the Operating System
Replace a Process Level Token
Increase Quotas
Logon as a Service
8.
Set the CygWin InetD service to start manually and interact with desktop.
9.
Added these environment vars to the HKLM environment:
CYGWIN tty notitle strace=0x1
CYGWIN_TITLE 1
CYGWIN_TTY 1
10.
Added these dirs to the HKML path:
C:\PROGRA~1\cygwin\bin;C:\PROGRA~1\cygwin\usr\local\bin;c:\progra~1\cygwin\u
sr\sbin;c:\progra~1\cygwin
11.
Create Registry Key/Value:
\registry\MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
c:\progra~1\cygwin\usr\sbin\inetd.exe = reg_sz "binmode tty ntsec"
12.
Made a simple motd
13.
Made a simple sshd.conf:
Port 22
ListenAddress 10.10.30.90
Protocol 2
HostDSAKey
c:/progra~1/cygwin/usr/sbin/sshd_host_dsa_key
PidFile c:/progra~1/cygwin/usr/sbin/sshd.pid
AllowUsers homeland\scraft, joe
PasswordAuthentication yes
PermitEmptyPasswords no
KeepAlive no
PrintMotd yes
CheckMail no
IgnoreRhosts yes
IgnoreUserKnownHosts yes
RhostsAuthentication no
RhostsRSAAuthentication no
14.
Made a ssh key for the box:
c:\progra~1\cygwin\bin\ssh-keygen -d -b 1024 -f
c:/progra~1/cygwin/usr/sbin/sshd_host_dsa_key -N ""
15.
Copied c:\progra~1\cygwin\usr\sbin\sshd.exe to
c:\progra~1\cygwin\usr\sbin\in.sshd.exe to signify that this one runs inside
inetd
16.
Modify c:\winnt\system32\drivers\etc to include this line:
sshd 22/tcp # added on
2000Nov02 SC
17.
Add this to my c:\progra~1\cygwin\etc\inetd.conf:
sshd stream tcp nowait guest_sshd /usr/sbin/in.sshd -i -d -f
/usr/sbin/sshd.conf
I can 'net start inetd' and the service starts OK, but I can't see how to
tell that sshd is running inside it, and I definitely can't connect.
Help?
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -