Hi, I am using camel 2.10.3, I can get this route from(direct).to(sftp) to work using openssh as server. There is no problem.
I am now adding this to my server config (sshd_config) : Match User myuser ChrootDirectory /home AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp Which should restrain the access to SFTP only and folder /home only. This new config will give me this from ssh : This service allows sftp connections only. Connection to localhost closed. I can use "sftp" and it works perfectly. (ls, get, put, etc.) My camel route doesn't allow it though, I tried to run my IDE as root, still the same exception, PermissionDenied. Any idea on what I might be missing ? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Permission-denied-with-Camel-FTP-when-configuring-jail-chroot-sftp-only-with-openssh-tp5730230.html Sent from the Camel - Users mailing list archive at Nabble.com.