HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Can't enable SSH access for users (http://www.howtoforge.com/forums/showthread.php?t=25838)

TheFuzzy0ne 7th August 2008 15:20

Can't enable SSH access for users
 
Hi there.

I've just tried to add a test account with SSH access (by checking the box for "Shell Access"), but for some reason I can't actually login with that information. I've removed the user prefix, so usernames shouldn't be prefixed with "web1_" etc, but I'm wondering if there is a different name for users to login with using SSH. I can login to the control panel using the set username and password. Shouldn't the SSH username and password be the same?

Is there any way to list all users on the system outside of ISPConfig? I'm running Ubuntu 8.04.

EDIT: I've just checked out my/etc/passwd file, and only two new users have been added, which I believe is for anonymous FTP access.

Thanks in advance.

Daz.

TheFuzzy0ne 7th August 2008 16:40

OK, I fixed the problem here. I realised that I hadn't actually set the username and password as I assumed it would be done automatically.

The test account is able to view everyone elses Web sites through SSH. How can I stop this. I'm assuming that chmod o-r will stop some things like PHP from working, right?

falko 8th August 2008 16:33

You'd have to set up chrooted SSH:
http://www.howtoforge.com/chrooted_ssh_howto_debian
http://www.howtoforge.com/chroot_ssh_sftp_debian_etch
http://www.howtoforge.com/chroot_ssh_sftp_fedora7

TheFuzzy0ne 8th August 2008 16:53

Many thanks! Who would have thought I've been using Linux as a Desktop and server environments for almost 3 years now... Although in fairness, this is the first time I've actually been root on the server.


All times are GMT +2. The time now is 15:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.