SSH Logon Problem...

PGP

Verified User
Joined
Nov 7, 2006
Messages
37
Location
Russia
During installing DA i mad a mistake.
Insert string: "Allowusers username" in ssh_config instead of sshd_config.
So now i cant logon on to server through SSH. =(
But i can connect to server throgh KVM.
Is there any way to fix it?

PS Allowusers was fixed throgh DA File Editor. But still no success.
User admin succesfully can login onto SSH, but cant 'su' in to root.
When i try to logon with old user who can su to root - putty just closing after entering password. =(:)confused:
 
Any suggestions?
I can login into single mode over KVM, but dont know where to go, and what to do... =(
And over KVM cant login as root. No errors. Displays greeting screen and then logout. =(
 
If you used the DA file editor and put "AllowUsers root" then restarted sshd, I don't understand the problem unless you altered other parts of the configuration?
 
=( So at the current moment i have th following:
1. System was completly reinstalled.
2. Was installed all needed ports. Also was installed webmin.
3. SSH was working, as a su.
4. Allowusers username was added to sshd_config
5. Then i installing DA and have the same problem =(
6. Trying to login over SSH (Putty). Only directadmin's user can login over SSH. But it cant su to root.
7. My user cant login. Putty logout immediatly after successfull login.
=(
8. Tried to add 'admin' to wheel group. Login over SSH - success. Triyng su, entering root password, no errors, but and entering into root account didnt happen =(

So, now i can change every file in the system over webmin. But what exactly to do - dont know... =(((
 
Last edited:
Back
Top