The scp command to get a file from the Karaf directories via Karaf ssh console works well :
scp -P 8101 karaf@localhost:/deploy/README
(after I have entered the password)
But the reverse operation to upload a file fails with a "Permission denied" error :
scp README -v -P 8101 karaf@localhost:/deploy/
I tried to locally remove the file first, same error. I gave 777 on the "deploy" directory, and also tried with a new test directory.
Where can it come from ? Thanks Arnaud