Loading ...
Sorry, an error occurred while loading the content.

Re: Installing OpenSSH (HOWTO)

Expand Messages
  • eykamp
    Good idea. I ll add your notes to the howto. Chris
    Message 1 of 4 , Dec 26, 2004
    • 0 Attachment
      Good idea. I'll add your notes to the howto.

      Chris


      --- In LinkStation_General@yahoogroups.com, Wilson <sonsondei@y...> wrote:
      > The other easier way you can do is:
      >
      > # pwd
      > /
      > # tar fxzv openssh-3.0.2p1.tar.gz
      > # vi /etc/init.d/ssh
      >
      > There's a line:
      > # Uncomment the following line to allow the script to
      > autogenerate
      > # the required keys if they are not on the system.
      > #AUTOKEYGEN=yes
      >
      > Just uncomment it as:
      > AUTOKEYGEN=yes
      >
      > Then run /etc/init.d/ssh start
      > it'll generate the server key for you and start the
      > SSH daemon.
      >
      > you can then link it to rc3.d
      > ln -s /etc/init.d/ssh /etc/rc.d/rc3.d/S20ssh
      >
      > So it'll start whenever your box boot up.
      >
      > Wilson
      >
      > --- eykamp <chris@e...> wrote:
      >
      > >
      > > I am not a Linux guy, so I am very careful to
      > > document how I get
      > > things to work. Now that I have installed OpenSSH
      > > several times, I
      > > thought I'd share the steps I used to get it to
      > > work.
      > >
      > > You will need to have root access to telnet to get
      > > this to work.
      > >
      > > I started with a copy of the OpenSSH binaries (part
      > > of the archive on
      > > http://kurobox.com/downloads/binary.zip) on to the
      > > shared area of the
      > > Linkstation's hard drive.
      > >
      > > login as root
      > >
      > > copy openSSH binaries file to /
      > > # cp /mnt/share/openssh-3.0.2p1.tar.gz .
      > > # cd /
      > > # tar xfvz openssh-3.0.2p1.tar.gz
      > > # rm openssh-3.0.2p1.tar.gz
      > >
      > > Now we need to generate keys
      > > # ssh-keygen -f /etc/ssh/ssh_host_key -N ""
      > > # ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_rsa_key -N
      > > ""
      > > # ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N
      > > ""
      > >
      > >
      > > Now start deamon sshd and see if it is working:
      > > # sshd -d -D
      > >
      > > You should now be able to login with Putty or other
      > > SSH clinet.
      > >
      > > To start the deamon normally:
      > > # sshd
      > >
      > >
      > >
      > > Now, does anyone know how to run sshd every time the
      > > Linkstation
      > > boots? (I told you I wasn't a Linux guy!!!)
      > > Good luck!
      > >
      > > Chris
      > >
      > >
      > >
      > >
      >
      >
      >
      >
      > __________________________________
      > Do you Yahoo!?
      > Yahoo! Mail - Easier than ever with enhanced search. Learn more.
      > http://info.mail.yahoo.com/mail_250
    Your message has been successfully submitted and would be delivered to recipients shortly.