Solved

Cannot ssh into box as a regular user

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 …
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…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now