Open SSH on the Qube

I have now installed OpenSSH on the Qube and this is how I did it. Go to http://www.openssh.org/, and their downloads page and get a copy of the "Other UNIX" version via the Portable page.

  1. Go to http://www.openssh.org/, and their downloads page and get a copy of the "Other UNIX" version via the Portable page.
  2. On the Qube, enable FTP & Telnet from behind the firewall and upload the tar'd package to the admin user
  3. Create an ssd user, with a home directory of /var/empty & shell of /bin/false. BTW /var/empty exists on my Qube.
  4. Make & Install the package. Read the INSTALL file, then
    $ ./configure
    $ make | tee log.makefile
    $ make install | tee log.makefile.install
  5. Copy your make directory's version of openssh.init to /etc/etc/rc.d/init , edit the first line (the shell interpreter #!/sbin/sh) to make sure that the shell is real and exists in the expected location. (This is a Qube glitch. The shell is not in /sbin.)
  6. Link the ../init version to an appropriatly named file node in the ../rc2.d directory, or is this the ../rc3.d.
  7. Start the daemon
  8. Open the firewall port Hooray!

Now I can break the Qube from anywhere in the world, or I will once I fix Dynamic DNS. Once again thanks to Mike Ramchand

tags: ""

Comments:

Or get it from pkgmaster.com: http://www.pkgmaster.com/packages/qube/3/

Posted by Chris Gerhard on December 22, 2005 at 12:21 AM PST #

Post a Comment:
Comments are closed for this entry.
About

DaveLevy

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today