We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

linux user cannot ssh

ammadeyy2020
ammadeyy2020 asked
on
Medium Priority
1,177 Views
Last Modified: 2013-12-16
i have created a user and add to root level
but cannot ssh
using CentOS
how to fix this?
Comment
Watch Question

you may need to disable the centos firewall
also you may need to specifically enable SSH for the root user
try adding another user account - if i am correct the root
user account is retricted from access the console via ssh until you enable it.

I am not a linux person....




Robert
CERTIFIED EXPERT
Top Expert 2007

Commented:
what do you mean by "and add to root level"? Normal users can login via ssh?
Posibly the firewall port is not open if trying from outside the LAN.

Author

Commented:
i have all root users
all users can login via ssh
i created one new user, that user cannot login via ssh
CERTIFIED EXPERT
Top Expert 2007
Commented:
when you say all root users , do you mean all have user id 0?

It is better to use sudo:

http://www.gratisoft.us/sudo/man/sudoers.html

What error message this user get when he fails to login? It could be a wrong password or that his home dir is not created?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
If you are using ssh client in Linux, can you post the output of ssh using the command:

$ ssh -vvv username@hostname

Commented:
If you are using ssh client in Linux, can you post the output of ssh using the command:

$ ssh -vvv username@hostname

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.