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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 12th May 2011, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Not sure if this is the reason, but do you use passwords longer than eight characters?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th May 2011, 12:25
briand0713 briand0713 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Not sure if this is the reason, but do you use passwords longer than eight characters?
it was 8 chars exactly.
Reply With Quote
  #4  
Old 12th May 2011, 15:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
 
Default

Seems as if you mix up FTPS and SFTP protocols. You tried to login with sftp (which is a ssh based protocol and not a FTP based) into a jailed SSH account. But SFTP is not supported for jails, in a jail you can only login with a terminal client like putty. To transfer files, create a FTP account intstead and use a FTP client.

Please create a FTP account (not SSH account) and login with FTP or if you want a encrypted login use ftps (FTPS is a FTP based ssl login while SFTP what you used is a ssh based protocol for file transfers).

If you want to login by ssh, then use a terminal client like putty.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ffs123 (3rd November 2011)
Reply

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 06:15.


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