Solved

Cannot ssh into box as a regular user

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

749 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