Dick, I installed Cygwin on the target system and added a SSHD server. So the client does an SSH to this server, which then does port forwarding (tunneling) to the jBASE telnet server. This might seem like cumbersome solution, having a Linux implementation sitting on top of Windows just for one service. But it's actually very easy to install (to my surprise and relief), the overhead is minimal, and over time you may find having Linux functionality in Windows to be quite refreshing - sort of like having Pick commands from the Windows command like with jBase compared to other Pick platforms. (Sorry Jim)
Install Cygwin with OpenSSH, OpenSSL, and inetutils.
Google for these phrases to get info:
ssh port forwarding cygwin
ssh port forwarding linux
ssh tunnel
install cygwin
mobaxterm << this is a pre-packaged "distro" with Cygwin and SSH, look for others
The above method does not require anything special on the client other than switching from telnet to SSH of course. If you're using a telnet client and don't want to change to SSH for some reason, Google:
windows ssh tunnel client
You can install software in Windows which accepts connections on port X and sends them to another server on port Y - with or without encryption. I used this to accept a localhost telnet connection on port 23 from the client, pass the request over SSH to a remote server, and then as above re-route to a telnet server. The result is securing the internet connection while still doing a local insecure telnet.
Frankly it's been a long time since I did this and I'm embarrassed to say I don't have detailed notes on specific software or settings - but over time new software and docs turn up on the web, so you probably wouldn't want my old notes anyway.
HTH
T
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
Visit http://PickWiki.com! Contribute!
We currently have a need to implement an SSH server for Windows for a jBASE server. Can others on the list let us know how you have approached SSH servers on Windows for jBASE?
Hi,
The best is to install cygwin on both the systems. Cygwin can use as SSH server and client.
Manoj
...the SSHD accepts a connection on port X
and then transfers that to port Y, but that's not so much "port
forwarding" or tunneling, that's what an SSHD does.
Regarding Bitvise - yeah it's great but the Cygwin solution is too,
and it's free
and has more feature
and takes the same amount of time to setup.
I found it dirt-simple to
install and there's even a MSI installer which does all of the initial
setup in the same number of clicks as Bitvise.
--Kevin Powick
I'll preface this by saying anything I know about this comes from discussions I had with Kevin in CDP just over a year ago. Based on those discussions and very little pain from experimentation, I was able to get this stuff to work, and for free. That's the whole take-home here. I'm just conveying what I learned back then.
Yeah, awkward phrasing about "what an SSD does". My point was that you don't need SSHD and port-forwarding and tunneling because SSH already does that. Consider this client-side command:
ssh -L <local-port-to-listen>:<remote-host>:<remote-port>
Tunneling is sometimes defined the same as port forwarding but they're not exactly the same. The above command describes the tunneling of a connection from client to server, and subsequently the SSHD does port forwarding to the ultimate destination (the jBase telnetd). So if you're using SSH you don't need separate tunneling or port forwarding software, which seemed to be implied by prior notes. That was my point.
As to many more features and the "such as" - that would be all features available in Cygwin, Linux software running under Windows, XTerm, and any number of command-line utilities like grep, awk, and sed. You don't get any of that with a product dedicated to being nothing more than a SSHD.
As to installing Cygwin, you conveniently left out the sentence following the one you quoted where I said "After that the configuration is of course different, but no more or less complex than any commercial offering.". What I was talking about was the few number of clicks required to click setup, confirm a target directory, maybe confirm a EULA, and then click Finish.
As to: "For laughs, I downloaded the latest version of Cygwin, ran the installer and immediately found myself asking, "now what", as I had to make decisions on choosing which packages to download. " …. " Click on that magic Cygwin icon and I get.. Wait for it. A command prompt."
Speaking of laughs, that sounds just like the jBase installation. DOH!
Look, I'm not going to play this game of fine-tuning words and splitting hairs on the nuances of specific implementations. People have enough information now to get more info. It's time to stop tossing fish and for people to use the fishing poles they have.
Have a nice day.
T
Look, I'm not going to play this game of fine-tuning words and splitting hairs on the nuances of specific implementations.