Solved

Cannot ssh into box as a regular user

Posted on 2004-08-20
2
307 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
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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