SSH access for site user

Discussion in 'Installation/Configuration' started by cic, Oct 24, 2007.

  1. cic

    cic New Member

    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
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please have a look at your syslog or auth.log for error messages from your SSH daemon.
     
  3. cic

    cic New Member

    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
     
  4. wpwood3

    wpwood3 New Member

    Look at /etc/passwd
    make sure the user has /bin/bash
     
    Last edited: Nov 16, 2007
  5. cic

    cic New Member

    Here's this users settings: :x:10002:10002::/var/www/web2/./:/bin/bash
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you set up chrooted SSH?
     
  7. cic

    cic New Member

    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?
     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

Share This Page