akash zade if you created directory in /home/ubuntu then it's right 👍
You can set directory thats present on agent node...
Try following step by step from the blog it will connect easily ❤️
If not then msg me on LinkedIn or discord i will be there for help you out.