# Ansible.builtin.raw prompt password

**URL:** <https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582>\
**Category:** Get Help\
**Created:** [February 24, 2025, 7:35am UTC](https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582 "2025-02-24T07:35:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![it-pappa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/it-pappa/32/7523_2.png) [@it-pappa](https://forum.ansible.com/u/it-pappa)\
**Post date:** [February 24, 2025, 7:35am UTC](https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582/1 "2025-02-24T07:35:46Z")

</div>

Hi, is it anyway i can use ansible.builtin.raw with echo the password first or anything like that?

I am working with a weird system where i can only use ansible raw module. But i need to prompt the password to the scp command.

---

<div class="post-metadata">

**Author:** ![kristianheljas](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kristianheljas/32/7702_2.png) [@kristianheljas](https://forum.ansible.com/u/kristianheljas)\
**Post date:** [February 24, 2025, 1:35pm UTC](https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582/2 "2025-02-24T13:35:18Z")

</div>

Raw module runs the script in user default shell, so yes you can run more complicated scripts via raw module.

But I think the answer you are looking for is not really ansible related, see:  
[linux - How to pass password to scp? - Stack Overflow](https://stackoverflow.com/questions/50096/how-to-pass-password-to-scp)
