Tuesday, August 4, 2009

Enable SSH in Untangle

The default installation of Untangle includes an SSH server but it is not turned on by default. Enabling it is easy enough, though. First you will need have physical access to the Untangle machine. Launch the Terminal. If this is the first time you have launched the Terminal, you will be prompted to enter a new password. This is the password for the root user. Once you are looking at a prompt, enter these two commands:
# mv /etc/ssh/sshd_not_to_be_run /etc/ssh/sshd_not_to_be_run.orig
# /etc/init.d/ssh start
The first command renames an empty file that will prevent the SSH server from running if it is present. The second command starts the SSH server. You can test that whether it is working correctly by running this command:
# ssh localhost
If you see a prompt asking for a password then it worked.

4 comments:

  1. Very helpful...Thank you for the post!

    ReplyDelete
  2. Thanks for this, but is there a way to enable SSH if you do not have physical access to the console (it is presently hung on the splash screen). Please advise?

    Thanks. jason@tekana.bc.ca

    ReplyDelete
  3. I cant believe I searched for this and you came up first...make sense to me hehehe Thanks man.

    ReplyDelete
  4. Thanks Zack, keep up the good work!

    ReplyDelete