Main Menu

SSH ?

Started by galgot, January 13, 2014, 01:46:26 PM

Previous topic - Next topic

galgot

Hi ! My first post post here :)
I've just installed Rhapsody 5.6 on a PowerBook G3 PDQ 266 Mhz, together with a MacOS 8.6 partition, works very well, happy with it.
Now i'm wondering, is there a way to have SSH on Rhapsody ?
Cheers.

nextchef

There were packages for Rhapsody on the peak.org site.  I did find a version at the link below, but do not know how useful it will be.

ftp://ftp.cs.tu-berlin.de/pub/NeXT/crypt/unix/

The README describes it being for Rhapsody.

galgot

thanks ! Will try with that.
Nice server btw, lots of things there :)

Cheers

galgot

Ok, I finally figured out how to make work.
Rhapsody forum here doesn't seems to be very active, maybe how the only remaining person playing with that old Os. Anyway here is how i did it , maybe not the best way, but if it can be of some help. Note you need the Rhapsody Dev Tools to be installed to compile.

UPDATEs :

first get zlib-1.2.8 from here :
http://www.zlib.net
Untar it , then ./configure; make test
log as root to install,
su
make install


Then go to :
http://openssl.org/source/

Get openssl-0.9.8
./Configure no-hw no-sha512 rhapsody-ppc-cc
make
su
make install


And , go to :
http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
and get openssh-3.2.2p1.tar.gz .
Untar, then
./configure
make
su
make install


And it works... here some screens, connected to a MacMini :





Now VNC would be nice...

eagle

VNC would be nice, and I use VMware Fusion to get VNC access to my NeXT boxes: I run Rhapsody DR2, NeXTSTEP 3.3, and OPENSTEP 4.2 in a VM, and I use VMware's VNC server to access those VMs.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

galgot

Quote from: "eagle"VNC would be nice, and I use VMware Fusion to get VNC access to my NeXT boxes: I run Rhapsody DR2, NeXTSTEP 3.3, and OPENSTEP 4.2 in a VM, and I use VMware's VNC server to access those VMs.

That's cool. Did you had to install something in the Rhapsody DR2 system VM for the VNC to work with it ? or it's just the VMWare interface doing the thing ?
I can access the BlueBox in Rhapsody through VNC , with OS9VNC, but only the OS8.6 desktop... And the funny thing , if i switch to Rhapsody desktop in the BlueBox , the VNC screen stays on the OS 8.6 desktop and still works.
I've read somewhere that X-windowing is possible in Rhapsody, with SSH installed now, maybe it's a solution... will try that.

eagle

It's just the VMware interface doing its thing, but having the VMMouse driver installed (same driver works in all 3 of those OSes) really helps, so that the mouse tracks correctly.  And yes, I have seen the same thing you mentioned with the Blue Box. :)  I thought that was pretty neato.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

Noth

You can use RBrowser to connect to Nextstep/Openstep/Rhapsody desktops, available here: ftp://ftp.cs.tu-berlin.de/pub/NeXT/net/misc/apps/commercial/
NeXT Cube 040 (NeXTSTEP 3.3), SUN SparcStation5 (NeXTSTEP 3.3), SGI Indigo2 R10000 (IRIX 6.5.22), SGI VSW320 (Windows 2000/Slakware 9.1)

vash2k6

Are the dev tools for OSX Server 1.0-1.2 on the WebObjects disk?

galgot

Quote from: "vash2k6"Are the dev tools for OSX Server 1.0-1.2 on the WebObjects disk?

Hi, sorry for late response.
yes they are on the WebObjects/Developer 4.0.1 cd.

Btw, still looking for a VNC solution for Rhapsody... no joy so far.
Also looking if there is a way to make X11 work on it...
Really like this system.

galgot

Ok so no VNC...
But X11. Found two X11 servers for Rhapsody. maX and Xnext.
Here : http://nextstuff.info/mirrors/otto/html/pub/MacOSX-Server/X11/server/
Only tried maX for now. some screens :
startup




by default maX as twm , but you have to make yourself a .bashrc file that add /usr/X11R6.4/bin to your PATH. then start a bash in the term.





And here ssh-Xing in my MacMini running WMaker :




I'm surprised how fast it is. much more than with MI/X on os9.
It's a bit buggy, sometime, cursor disappears and must reboot to get it back. but overall Very cool !!
So far i've not been able to ssh-X from the Mac to the Rhapsody Xwindow. Will look into it.

Cheers

hexloo

Quote from: "galgot"Ok, I finally figured out how to make work.
Rhapsody forum here doesn't seems to be very active, maybe how the only remaining person playing with that old Os. Anyway here is how i did it , maybe not the best way, but if it can be of some help. Note you need the Rhapsody Dev Tools to be installed to compile.
Also it helps to be logged as root.

first get zlib-1.2.8 from here :
http://www.zlib.net
Untar it , then "./configure; make test" and "make install" to install.

Then go to :
http://openssl.org/source/
and grab openssl-0.9.6c.tar.gz  ,(i've tried with versions from the approx time-frame of Rhapsody... first with 0.9.6b from 2001, didn't work. then with that 0.9.6c compiles Ok, but maybe more recent versions could work, dunno).
Untar and "./config" , "make" , "make test" and "make install" .

And , go to :
http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
and get openssh-3.2.2p1.tar.gz .
Untar, then "./configure" , "make" and "make install".
And it works... here some screens, connected to a MacMini :





Now VNC would be nice...
I can't get OpenSSL to compile like this, it first complained about __ftime so I got ftime.c and ftime.o and added them to the makefile, but then it complains about __localtime_r and __set_errno and I can't get that to work.

galgot

Hi , you here too :)
I've replied you at 86kmla already. Will also update my old post here.
Try with openssl-0.9.8
./Configure no-hw no-sha512 rhapsody-ppc-cc
make
su
make install

That's how it works for me.

CarlP

Galgot, I am trying to get maX running on OS X Server 1.2 but I think I must be missing something.  I added /usr/X11R6.4/bin to both .bashrc and .tcshrc but when when I try starting any X11 apps, I get the message Unable to open display "".  I am not well versed in X11.  maX.app is running and there is a cursor.  I am using the default xinitrc from /urs/X11R6.4/lib/X11/xinit.  My ultimate goal is to get an early version of R to run in Mac OS X using X11.  It works on Next in a virtual machine but there may be to many changes from Next to Rhapsody for the compile to be straight forward.  As a last resort, perhaps I could use maX to ssh to a Linux box as you are doing to run R. Any advice would be appreciated!