- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Master Untangler
Join Date: Dec 2007
Posts: 102
![]() |
So last night I reinstalled UT, restored my backup and created a new user with read only access. Enabled remote administration and edited my sshd_config file to watch all interfaces, changed PermitRootLogin to no and was able to connect from an outside host. However I saw an "error" of sorts upon connecting saying that the remote host couldnt be trusted...basically. I accepted by typing yes and was prompted for that read-only users password. The same one I set in the UT gui...and it is not being accepted.
Is there a better way to create a new user in UT that will allow for remote login rights? Last edited by Allanon; 02-20-2008 at 06:57 PM.. |
|
|
|
|
#2 (permalink) |
![]() Join Date: Aug 2007
URLs submitted: 171
Posts: 4,802
![]() |
Are you referring to SSH or Rermote Admin? The GUI has nothing to do with SSH except to enable it. You may or may not be using the same password for both, but if not, you gotta know which is which.
If you saw a certificate-based error, its because we self-sign a cert for Untangle, but its not recognized by anyone else. If you were talking about a Putty error, it was likely because you hadn't accessed your Untangle box via Putty before so the identity of the box wasn't cached yet. |
|
|
|
|
#3 (permalink) | |||
|
Master Untangler
Join Date: Dec 2007
URLs submitted: 1
Posts: 202
![]() |
Quote:
Quote:
Quote:
SSH uses the users found in /etc/passwd rather than those created for Untangle use (within the Untangle GUI). As MDH said, there are 2 types of users wrt Untangle. |
|||
|
|
|
|
#7 (permalink) | |
|
Untangler
Join Date: Jan 2008
URLs submitted: 5
Posts: 59
![]() |
Quote:
First make sure ssh is allowed on the config tab in the Untangle GUI. 1. From the Untangle Client, click Config tab > Support. The Support Config window launches. 2. Click the Access Restrictions tab. 3. Select the Allow radio button. 4. Click the Save Settings button Second, from the ubuntu gnome terminal ssh root@your.untangle.ip enter your password If you don't want to use root you can replace root with a different username if you made one. Then use the password created for that user. Last edited by abridge; 02-20-2008 at 04:23 PM.. |
|
|
|
|
|
#8 (permalink) |
|
Master Untangler
Join Date: Dec 2007
Posts: 102
![]() |
Ok so I used useradd to create a new user following this syntax: "useradd -p somepassword foo" Logged into my remote ssh host, then tried "ssh foo@my.untanlge.ip, get prompted for a password and UT still does not accept it.
I nano'd /etc/passwd and verified the user i created is in that file, without a default shell but still he's in there. Anything else I can try? Oh yeah I did re-verify that Support is allowed to remotely access my server too. Should I have assigned the new user to a group? |
|
|
|
|
#9 (permalink) |
|
Master Untangler
Join Date: Dec 2007
Posts: 102
![]() |
Ok I quickly googled "useradd" and found out that I did infact use the wrong syntax. Instead of:
"useradd -p somepassword foo" I should have used, "useradd foo" followed by "passwd foo", then get prompted for this users new password. I am FINALLY IN!! W00T! |
|
|
![]() |
| Thread Tools | |
|
|