Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11th May 2011, 20:43
briand0713 briand0713 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot FTP or SSH into Client Account

So I finally gave up with OpenSuSE 11.4 and went back to 11.2 and now ISPConfig3 seems more stable. Last Night I was able to successfully make a client for myself, website, subdomains, FTP and SSH accounts and was able to login to those accounts using WinSCP and Putty. My friend noticed a php error in php.ini so I went and fixed it, restarted apache and after that, I couldn't log back into the shell hostings with WinSCP or Putty.

I tried making other logins, delete and remake the client but still couldn't login. I figured I messed something up with php.ini so I decided to reinstall OpenSuSE 11.2 and start from scratch but once again, after creating the FTP and Shell Acount, I still wasn't able to login.

For WinSCP, I keep getting this when trying to login

Code:
Connection has been unexpectedly closed. Server sent command exit status 11.
Cannot initialize SFTP protocol. Is the host running a SFTP server?
I believe that this is the neccessary error log:

Code:
May 11 14:32:02 server1 sshd[20818]: Accepted keyboard-interactive/pam for brian from 192.168.0.192 port 55696 ssh2
May 11 14:32:06 server1 sshd[20892]: Accepted keyboard-interactive/pam for npsxweb1 from 192.168.0.192 port 55702 ssh2
May 11 14:32:06 server1 sshd[20896]: subsystem request for sftp
May 11 14:32:06 server1 jk_chrootsh[20897]: abort, effective user ID is not 0, possibly jk_chrootsh is not setuid root
May 11 14:32:11 server1 sshd[20900]: Accepted keyboard-interactive/pam for npsxweb1 from 192.168.0.192 port 55704 ssh2
May 11 14:32:11 server1 sshd[20904]: subsystem request for sftp
May 11 14:32:11 server1 jk_chrootsh[20905]: abort, effective user ID is not 0, possibly jk_chrootsh is not setuid root
May 11 14:32:17 server1 sshd[20908]: Accepted keyboard-interactive/pam for npsxweb1 from 192.168.0.192 port 55705 ssh2
May 11 14:32:17 server1 sshd[20912]: subsystem request for sftp
May 11 14:32:17 server1 jk_chrootsh[20913]: abort, effective user ID is not 0, possibly jk_chrootsh is not setuid root
May 11 14:32:19 server1 sshd[20898]: Accepted keyboard-interactive/pam for npsxweb1 from 192.168.0.192 port 55703 ssh2
May 11 14:32:19 server1 jk_chrootsh[20915]: abort, effective user ID is not 0, possibly jk_chrootsh is not setuid root
EDIT: I made a second user 'npsxweb2' and I went into yast2. It looked like the password was shorter than what I set so I adjusted the password through yast and now I'm able to SSH in for user 'npsxweb2'. I did get an error though when attempting to do the same for 'npsxweb1' Below is the error message as well as the user details.

Code:
Error                                                        
The home directory may only contain the following characters:
a-z, A-Z, 0-9, and _-/ 
Try again.

 │User ID (uid)                                ┌Additional Groups───────────┐ │
 │5002▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│[ ] client1                 ┬ │
 │Home Directory                               │[ ] ispapps                 │ │
 │<nts/client1/web1/./home/npsxweb1▒[Browse...]│[ ] ispconfig               ┴ │
 │ [x] Move to New Location                    │[ ] sshusers                │ │
 │[ ] Use Encrypted Home DirectDirectory Size i│[ ] users                   │ │
 │                                             │[ ] vmail                   │ │
 │Additional User Information                  │[ ] at                      │ │
 │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│[ ] audio                   │ │
 │Login Shell                                  │[ ] bin                     │ │
 │/usr/sbin/jk_chrootsh▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒‚│[ ] cdrom                   │ │
 │Default Group                                │[ ] console                 │ │
 │client1▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒‚└────────────────────────────┘ │
and below is what 'npsxweb2' details are and once again, 'npsxweb2' seems to be working now:

Code:
 │User ID (uid)                                ┌Additional Groups───────────┐ │
 │5002▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│[ ] client1                 ┬ │
 │Home Directory                               │[ ] ispapps                 │ │
 │/srv/www/clients/client1/web1▒▒▒▒▒[Browse...]│[ ] ispconfig               ┴ │
 │ [x] Move to New Location                    │[ ] sshusers                │ │
 │[ ] Use Encrypted Home DirectDirectory Size i│[ ] users                   │ │
 │                                             │[ ] vmail                   │ │
 │Additional User Information                  │[ ] at                      │ │
 │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│[ ] audio                   │ │
 │Login Shell                                  │[ ] bin                     │ │
 │/bin/bash▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒‚│[ ] cdrom                   │ │
 │Default Group                                │[ ] console                 │ │
 │client1▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒‚└────────────────────────────┘ │
I was thinking about cloning 'npsxweb2' details to 'npsxweb1' but I just want to hear the thoughts from you experts.

Last edited by briand0713; 11th May 2011 at 23:28.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to login to a client account? briand0713 General 1 8th May 2011 21:44
DNS Lookups kieron General 4 4th May 2011 19:49
cannot create new ssh users for one client wildnux Server Operation 0 9th February 2011 01:10
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Users can't acces their folders with Web-FTP kvdd Installation/Configuration 9 1st November 2007 19:52


All times are GMT +2. The time now is 18:12.


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