![]() |
SSH access for site user
I'm attempting to give SSH access for a site user and am being extremely unsuccessful. I've created the site and placed a check mark next to Shell Access. Under User & Email, I created a user and placed a check mark next to Administrator and Shell Access. When I attempt to use Putty to access the site, I can enter the username but immediately after entering the password, Putty closes. What have I missed?
Thanks for any guidance! Troy |
Please have a look at your syslog or auth.log for error messages from your SSH daemon.
|
It appears to accept the password because after I type in the password, I get a message "Last login date from blah, blah, blah... and then my putty session closes. Using the same username/password, I can login at the console just fine and using the admin username, I can login via putty from my remote location just fine. Do I need to add the website user to a file?
Troy |
Look at /etc/passwd
make sure the user has /bin/bash |
Here's this users settings: :x:10002:10002::/var/www/web2/./:/bin/bash
|
Did you set up chrooted SSH?
|
No...and to be honest, I'm not sure how to do this? I just "playing" around with ISPConfig and I'm not an experienced linux person. Can you point me in the right direction?
|
Either set up chrooted SSH as shown here: http://www.howtoforge.com/chrooted_ssh_howto_debian
http://www.howtoforge.com/chroot_ssh_sftp_fedora7 or set $go_info["server"]["ssh_chroot"] to 0 in /home/admispconfig/ispconfig/lib/config.inc.php to not use chrooted SSH (much easier). |
| All times are GMT +2. The time now is 18:34. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.