View Single Post
  #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