View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 20, 2010 6:37 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
For some reason I have lost the Ability to SSH into my new Machine I have tried root and mythtv but both come back as "Access denied" Where should I start looking to fix this problem?
I have created a band-aid for it I created a new account called mattbatt and I can log in over SSH that way but that is kind of a pain to log in then have to su to mythtv or root.
Any ideas linux gurus.
Also if I do get SSH working properly again how do I get rid of the mattbatt user or should I just leave it alone?

_________________
My System


Last edited by mattbatt on Wed Apr 21, 2010 8:42 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Tue Apr 20, 2010 7:05 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
mattbatt wrote:
For some reason I have lost the Ability to SSH into my new Machine I have tried root and mythtv but both come back as "Access denied" Where should I start looking to fix this problem?
I have created a band-aid for it I created a new account called mattbatt and I can log in over SSH that way but that is kind of a pain to log in then have to su to mythtv or root.
Any ideas linux gurus.
Also if I do get SSH working properly again how do I get rid of the mattbatt user or should I just leave it alone?


I did about the same in a test box I've been using. Seems there was something cecil wrote about this... iirc


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 1:01 pm 
Offline
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location: IN
I believe both root and mythtv users are not allowed ssh access by default for security reasons.

You actually did the "right" thing by creating a standard user to use for ssh access however if you really want to ssh as root or mythtv (despite the security risks) you should be able to re-enable them by editing /etc/ssh/sshd_config

you will need to make the following edits:

For root access:

Code:
PermitRootLogin yes
#DenyUsers root


For mythtv access:
Code:
#DenyUsers mythtv


You will then need to restart ssh.

Hope this helps.

Martian

_________________
ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote

Vizio 37" LCD HDTV (1080p)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 8:41 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I don't SSH from outside my local network and my router doesn't redirect to the mythtv server so I felt safe with those two being open.
Thank you for the help.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 22, 2010 11:31 am 
Offline
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location: IN
Glad you got it fixed up!

I'd still advise against opening up the mythtv user as the password is well known and root will give you everything you need.

_________________
ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote

Vizio 37" LCD HDTV (1080p)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 22, 2010 9:17 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
My bad I should have specified I changed that password A LOOOONG time ago.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 23, 2010 2:46 pm 
Offline
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location: IN
mattbatt wrote:
My bad I should have specified I changed that password A LOOOONG time ago.

:mrgreen:

_________________
ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote

Vizio 37" LCD HDTV (1080p)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: snaproll and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu