LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   root cant log in to ssh (https://www.linuxquestions.org/questions/linux-software-2/root-cant-log-in-to-ssh-356674/)

Red Squirrel 08-24-2005 08:18 PM

root cant log in to ssh
 
I installed trustix linux on my backup server and I want to get ssh up and running so I can put the box downstairs and work from my room to configure it, but I noticed if I try to log in as root in ssh it just keeps saying invalid password, even though I'm putting the right one in. I can't even su as root. I'm assuming this is some kind of setting, but I have no clue where to go to change that.


Also, where can I get apt-get so I can install it? I'm so used to it I really dont want to have to do everything with ./configure, it's a pain that way since you have to know all the settings you want before you install it since you have to specify all the --with stufff and all that. I did find rpms for apt-get, but since trustix is not really well known I doubt I'll find a build for it, so I rather a ./configure one just for that, then everything else I can install with apt-get.

ironwalker 08-24-2005 10:11 PM

In /etc/ssh/sshd_config
I'd keep the "PermitRootLogin= no" setting and find in the config where users can sudo for root.
Its just much safer.
But if you insist just set it to Yes

Im not sure how trustix is setup but it may use rsa logins and host allows/denies.

to get an idea of debian ssh configs,
http://www.debian-administration.org/articles/87

Is trustix debian based?
If not just use the above link for a general idea.

Red Squirrel 08-26-2005 12:17 PM

Thanks I'll check that when I get home. Trustix is RH based I think.


All times are GMT -5. The time now is 11:10 AM.