---
title: "Comment by akash zade on \"Jenkins Agent to Master Node Connection Using SSH Keys | Deploying Project on Agent\" | Hashnode"
description: "Nice article. Which remote root directory we follow /home/ubuntu or /home/jenkins?"
url: "https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de/comment/63e1d632dd39cdb7268c9492"
---

[Discussion](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de)

Comment [Jenkins Agent to Master Node Connection Using SSH Keys | Deploying Project on Agent](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de)

[akash zade](https://hashnode.com/@akash315)

[Feb 7, 2023](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de/comment/63e1d632dd39cdb7268c9492)

Nice article. Which remote root directory we follow /home/ubuntu or /home/jenkins?

[Rushikesh Mashidkar](https://hashnode.com/@RishikeshOps)

[Feb 7, 2023](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de/comment/63e1d632dd39cdb7268c9492#reply-63e1d67b181298b6f65b63ec)

/home/ubuntu Follow directory that exists

[akash zade](https://hashnode.com/@akash315)

[Feb 7, 2023](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de/comment/63e1d632dd39cdb7268c9492#reply-63e1d73a181298b6f65b640c)

[Rushikesh Mashidkar](https://hashnode.com/@RushikeshOps) Ok, I have created one directory name jenkins in agent node. So you are suggesting I must use /home/ubuntu/jenkins right!

[Rushikesh Mashidkar](https://hashnode.com/@RishikeshOps)

[Feb 7, 2023](https://hashnode.com/posts/jenkins-agent-to-master-node-connection-using-ssh-keys-deploying-project-on-agent/63e1c5df181298b6f65b60de/comment/63e1d632dd39cdb7268c9492#reply-63e1d8ecdd39cdb7268c9512)

[akash zade](https://hashnode.com/@akash315) 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.
