Solved

Cannot ssh into box as a regular user

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.

839 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