cagefs is breaking sftp
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Manuel Kissoyan
  2. Friday, 08 June 2012
  3.  Subscribe via email
sftp cagefs
Rate this post:
  1. 08.06.2012 00:06:32
  2. # 1
Manuel Kissoyan Accepted Answer
Posts: 23
Joined: 16.03.2011
0
Votes
Undo
i have been testing with cagefs and looks like accounts enabled with cagefs are unable to connect through sftp.

Is showing an error like this:

2012-06-07 22:03:38.657 Using SFTP protocol.
. 2012-06-07 22:03:38.657 Doing startup conversation with host.
> 2012-06-07 22:03:38.658 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2012-06-07 22:03:48.655 Server sent command exit status 0
. 2012-06-07 22:03:48.655 Attempt to close connection due to fatal exception:
* 2012-06-07 22:03:48.655 Received too large (1399350636 B) SFTP packet. Max supported packet size is 1024000 B.
* 2012-06-07 22:03:48.655
* 2012-06-07 22:03:48.656 The error is typically caused by message printed from startup script (like .profile). The message may start with \"\"Shel\"\".
. 2012-06-07 22:03:48.656 Closing connection.
. 2012-06-07 22:03:48.656 Sending special code: 12
. 2012-06-07 22:03:48.656 Sent EOF message
* 2012-06-07 22:03:48.663 (ESshFatal) Received too large (1399350636 B) SFTP packet. Max supported packet size is 1024000 B.
* 2012-06-07 22:03:48.663
* 2012-06-07 22:03:48.664 The error is typically caused by message printed from startup script (like .profile). The message may start with \"\"Shel\"\".
* 2012-06-07 22:03:48.664 Cannot initialize SFTP protocol. Is the host running a SFTP server?

Thanx!
  1. 09.06.2012 04:06:56
  2. # 2
Anton Volkov Accepted Answer
Posts: 47
Joined: 03.04.2012
0
Votes
Undo
Hello Manuel!

I can not reproduce the issue.
sftp works fine in CageFS on my test servers.

Could you please disable CageFS for one account and then login to that account and check if sftp works fine.
If it still don\'t work, the issue is not related to CageFS.
  1. 09.06.2012 16:06:48
  2. # 3
Manuel Kissoyan Accepted Answer
Posts: 23
Joined: 16.03.2011
0
Votes
Undo
Hi Anton,

Yes, i did that before post here and with cagefs disabled is working ok.

Thanx!
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.