[email protected]

Active Member
Nov 6, 2003
29
0
156
Earth
Hi,


Just after logging into jailshell, connection immediately closed, without any message. Putty displays "connection closed by remote host"

We are using FreeBSD AMD64 with latest stable WHM and Cpanel. /var/log/auth.log shows that authentication is succesful, so it is with cpanel jailshell itself. Root login is fine.


Thanks in advance for your assistance.

Regards,
 

nvez

Active Member
PartnerNOC
Jul 17, 2006
40
0
156
You are probably seeing the error that says "You don't have access to SSH...", etc. That might be the thing appearing but because the connection is terminated, PuTTY closes it self. Double-check if the account does have SSH allowed.
 

Henric

Member
Feb 27, 2006
11
0
151
nvez is correct. You either don't have ssh access or you have wrongly configured shell access


can you do the following command and paste the result here


grep <username> /etc/passwd



Regards
Henric
 

[email protected]

Active Member
Nov 6, 2003
29
0
156
Earth
Hi,

Thanks, but that is not the case.

After logging into jailshall, i see /etc/motd welcome message, then connection is closed. Normal shell works perfectly for the same user.

User has /etc/master.passwd record, no problem.


Putty log shows
----------------------

.
2006-12-30 11:47:09 Access granted
2006-12-30 11:47:09 Opened channel for session
2006-12-30 11:47:09 Allocated pty (ospeed 38400bps, ispeed 38400bps)
2006-12-30 11:47:09 Started a shell/command
2006-12-30 11:47:09 Server exited on signal "SEGV"
2006-12-30 11:47:09 All channels closed. Disconnecting
2006-12-30 11:47:09 Server closed network connection
 
Last edited: