Solved

Cannot ssh into box as a regular user

Posted on 2004-08-20
2
311 Views
Last Modified: 2013-12-15
Have a linux box up (mandrake 10). I can ssh into the box as root.  I created a new user (via useradd). This user cannot log in to ssh remotely. It says permission denied.  Does the user have to be in a certain group???
0
Comment
Question by:dissolved
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
grblades earned 125 total points
ID: 11853971
Hi dissolved,
That user probably does not have the .ssh directory correctly setup in their home directory. The easiest way is to log on as them locally and either ssh elsewhere (which creates the directory and a known_hosts file) or create a set of keys. Then the user should be able to connect remotely.
0
 

Author Comment

by:dissolved
ID: 11856143
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question