Bill, I am using cygwin sshd on Win7. I have not done much with it, mainly ssh connections via putty.
Are you aware of problems with cygwin sshd? On 1/11/2012 20:10, bill lam wrote: > putty is good for connecting to a ssh server, but the question is how to > setup a ssh server on windows without cygwin. > > Срд, 11 Янв 2012, Eric Iverson писал(а): >> I use the free putty SSH client for windows and am quite happy with it. >> >> On Wed, Jan 11, 2012 at 6:02 PM, bill lam<bbill....@gmail.com> wrote: >> >>> I guess SSH is less common for windows. VPN serves similar rol but less >>> *nux-centric. Setup procedure for VPN should also be similar to what you >>> described for SSH. (untestd) >>> >>> Срд, 11 Янв 2012, Eric Iverson писал(а): >>>> It is relatively easy to have a secure JHS server serving remote clients. >>>> >>>> The trick is to piggyback JHS on a secure SSH tunnel. JHS communication >>> is >>>> through the tunnel and has the same encryption protection as the SHH >>>> connection. If SHH security is good enough for you, there is no reason to >>>> not use JHS from a remote client. >>>> >>>> An SHH tunnel connects a local port on the client to a local port on the >>>> server and uses its encryption/decryption on the connection. This allows >>> a >>>> browser on the client to connect to a local client port and have a secure >>>> connection to a local port on the server. >>>> >>>> Following are basic steps: >>>> >>>> 1. set up server machine with SHH server >>>> 2. set up client machine with SHH client >>>> 3. configure SHH client and verify you can access the server >>>> 4. add tunnel config to SSH client (e.g., 65001<--> 127.0.0.1:65001) >>>> 5. use SHH to connect client to server >>>> 6. from client SSH session start JHS on server with command: >>>> ~/j64-701/bin/jhs& >>>> 7. from client browser session browse to localhost:65001 (passed through >>>> tunnel to 65001 on server) >>>> 8. you have secure JHS services on client from server >>>> >>>> If you want to use port 65001 on your client for local JHS use, then >>> you'll >>>> want to configure the JHS server on your server to use another port and >>>> configure the SHH tunnel to make that connection (e.g., 65003<-> >>>> 127.0.0.1:65003) >>>> >>>> If you already have SHH access from your client to your server you have >>>> already done all the hard parts. Tunnel config is done a bit differently >>> on >>>> different SHH clients. On windows putty do the following: >>>> >>>> 1. load saved session that connects to your server >>>> 2. in the Category tree navigate to Connection>SSH>Tunnels >>>> 3. type 65001 in Source port >>>> 4. type 127.0.0.1:65001 (server local port) in Destination >>>> 5. click Add >>>> 6. navigate to Session >>>> 7. click Save (to save config changes) >>>> >>>> I had always planned to add https support to JHS but this is a >>> non-trivial, >>>> I now the SHH tunnel works so well that perhaps there is no need for JHS >>>> https support. >>>> >>>> This really is the way to use a cloud machine! >>>> >>>> I think this is a significant capability and welcome your feedback. >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> -- >>> regards, >>> ==================================================== >>> GPG key 1024D/4434BAB3 2008-08-24 >>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm