Hi,
Cache for Windows (CfW) is equipped with its own telnet demon
(ctelnetd.exe) rather than tied to some external one. As the details
of this coupling as not documented, it seems to be difficult task to
replace ctelnetd.exe with, say, sshd.exe.
Nevertheless, its possible to ssh into CfW. Some howto:
1. let Cache be installed into c:\intersystems\cache\
than:
2. create the file (I named it "cache_login.cmd"):
@echo off
c:\intersystems\cache\bin\cache -s c:\intersystems\cache\mgr\
3. and place it into Cygwin user's home directory.
4. in /etc/passwd file: replace the default shell (/bin/bash) with the
full path to the file mentioned above: /home/<username>/
cache_login.cmd
In my case the whole line for user Alex now looks like this:
...
alex:unused_by_nt/2000/xp:1008:513:alex,U-MYDOMAIN
\alex,S-1-5-21-1237067124-1521749626-317593308-1008:/home/Alex:/home/
Alex/cache_login.cmd
...
Now, if Cygwin sshd is running and user Alex will log in, it will be
directed to Cache prompt. He will be authenticated with
%Service_Console service (as he'd enter Cache locally using Cache
Terminal). Logging out Cache (e.g. issuing HALT command) would close
ssh session as well.
If you need to allow ssh login for several users, just repeat steps
3-4 for each of them.
HTH,
Alex