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 12th February 2012, 16:30
pier56 pier56 is offline
Member
 
Join Date: Aug 2010
Posts: 37
Thanks: 10
Thanked 4 Times in 3 Posts
Default SSH fails

Hello,

Shell users are created.
Some can connect, recently created can't.

The server was uggraded to squeeze 2 month ago.

What can I verify ?


Thanks !
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2012, 09:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Which ISPConfig version do you use and with which ispconfig version were the ssh users created?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th February 2012, 09:48
pier56 pier56 is offline
Member
 
Join Date: Aug 2010
Posts: 37
Thanks: 10
Thanked 4 Times in 3 Posts
Default

ISPconfig version what I use : 3.0.4.2, for recent ssh user.

ISPconfig version where the ssh users created (which can acces) : last user was created at the end of 2010.
Reply With Quote
  #4  
Old 13th February 2012, 10:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Please post the exact error messages that you get in /var/log/syslog when you try to login and post the line for the user that fails from /etc/passwd
__________________
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:
pier56 (14th February 2012)
  #5  
Old 13th February 2012, 10:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Quote:
The server was uggraded to squeeze 2 month ago.
Did you run a ispconfig update afterwards where you choose to reconfigure services?
__________________
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:
pier56 (14th February 2012)
  #6  
Old 14th February 2012, 07:56
pier56 pier56 is offline
Member
 
Join Date: Aug 2010
Posts: 37
Thanks: 10
Thanked 4 Times in 3 Posts
Default

I just update to 3.4.0.3, with reconfiguration of services, and finally a reboot.

No line for connexion in syslog.
/usr/sbin/jk_chrootsh and not /bin/bah in passwd.

I correct, it is good.

I remenber a problem with bash, but not what to do. Force bash by shell ? I think it is a bug in ispconfig, which shows bash as shell.

I prefer to update squeeze and ispconfig when there is updates.

But I think I have to write a log of actions.


Thanks.
Reply With Quote
  #7  
Old 14th February 2012, 09:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Quote:
I remenber a problem with bash, but not what to do. Force bash by shell ? I think it is a bug in ispconfig, which shows bash as shell.
Thats no bug at all, ist a setting in the client limits if you want to run a cronjob with jailkit or not.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 14th February 2012, 09:54
pier56 pier56 is offline
Member
 
Join Date: Aug 2010
Posts: 37
Thanks: 10
Thanked 4 Times in 3 Posts
Default

Ok, but why jailkit blocks ssh access ?
Reply With Quote
  #9  
Old 14th February 2012, 09:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Jailkit does not block ssh access if its correctly installed. You should reinstall jailkit (latest jailkit version) and then run a ispconfig update where you select to reconfigure services. To test the new install, create a new website and then a new ssh user in that website as the jail is created only once when a new website is setup.
__________________
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:
pier56 (16th February 2012)
  #10  
Old 16th February 2012, 18:55
pier56 pier56 is offline
Member
 
Join Date: Aug 2010
Posts: 37
Thanks: 10
Thanked 4 Times in 3 Posts
 
Default

I found that jailkit is missing.
The first install of ispconfig was from OVH, with lenny.
Perhaps a bad upgrade to squeeze ?

I install jailkit :
apt-get -y install build-essential autoconf automake1.9 libtool flex bison debhelper

cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.gz
tar xvfz jailkit-2.14.tar.gz
cd jailkit-2.14
./debian/rules binary
cd ..
dpkg -i jailkit_2.14-1_*.deb
rm -rf jailkit-2.14*

I'm waiting ispconfig 3.0.4.4 to reconfigure.
Reply With Quote
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
Jailkit SSH user login fails outeredge General 7 21st February 2011 14:40
cannot create new ssh users for one client wildnux Server Operation 0 9th February 2011 01:10
ssh stop answering requests mdk Server Operation 7 20th January 2009 19:56
SSH connection fails on users SamTzu General 13 23rd April 2007 13:43
SSH port forwarding (SQLYog Tunnel) mastorna Server Operation 0 22nd June 2006 01:16


All times are GMT +2. The time now is 20:11.


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