Using rsync to remote SSH user with no shell access Using rsync to remote SSH user with no shell access jenkins jenkins

Using rsync to remote SSH user with no shell access


That would probably be the easiest thing to do. You will probably want to only set it up with a limited shell like rssh or scponly to only allow file transfers. You may also want to set up a chroot jail so that it can't see your whole filesystem.


I agree that that would probably be the easiest thing to do. We do something similar, but use scp instead. Something like:

scp /path/to/test.txt apache@site.example.com:/path/to/site


I know this is pretty old thread, but if somebody comes across this page in future...

I had the same problem, but got that fixed when I fixed my .bashrc .I removed the statement "echo setting DISPLAY=$DISPLAY" which was there before in my .bashrc. rsync has issues with that statement for some reason. So, fixing .bashrc/.cshrc/.profile errors helped me.