---
title: "Discussion on \"How to copy ssh key to remote host using Ansible.\" | Hashnode"
description: "Discussion on \"How to copy ssh key to remote host using Ansible.\". As we are all aware #Ansible is a configuration management tool that is basically being used to do the changes of configurations on a remote host or on N number of remote hosts, but how will we connect to a remote host to execute our play? the answer..."
url: "https://hashnode.com/posts/how-to-copy-ssh-key-to-remote-host-using-ansible/6532b14fd3b82b7a36fa722c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to copy ssh key to remote host using Ansible.](https://mahiratechnology.com//how-to-copy-ssh-key-to-remote-host-using-ansible?utm_source=hashnode&utm_medium=feed)

As we are all aware #Ansible is a configuration management tool that is basically being used to do the changes of configurations on a remote host or on N number of remote hosts, but how will we connect to a remote host to execute our play? the answer...

Oct 20, 2023 · 2 min read · mahiratechnology.com  
Updated Feb 4, 2024  
Read the article

-   [#ssh-keys](https://hashnode.com/tag/ssh-keys)
-   [#ansible](https://hashnode.com/tag/ansible)
-   [#remote-host](https://hashnode.com/tag/remote-host)
-   [#ssh](https://hashnode.com/tag/ssh)
-   [#remote](https://hashnode.com/tag/remote)
-   [#public-key](https://hashnode.com/tag/public-key)

## Written by

[Mahira Technology Private Limited](https://hashnode.com/@mahiratechnology)

@mahiratechnology · Pune, India

  
[View profile](https://hashnode.com/@mahiratechnology)

Innovate. Transform. Thrive.

A leading tech consulting firm specializing in innovative solutions. Experts in cloud, DevOps, automation, data analytics &amp; more. Trusted technology partner.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
