# login once

**URL:** <https://forum.ansible.com/t/login-once/38328>\
**Category:** Ansible Project\
**Created:** [August 14, 2023, 10:48am UTC](https://forum.ansible.com/t/login-once/38328 "2023-08-14T10:48:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_K](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Vijay\_K](https://forum.ansible.com/u/Vijay_K)\
**Post date:** [August 14, 2023, 10:48am UTC](https://forum.ansible.com/t/login-once/38328/1 "2023-08-14T10:48:42Z")

</div>

Hi All

I am in need of executing multiple commands on one server. Currently it can login each time and execute the command.

But is there module or plugin where I can login once and execute the commands.

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [August 15, 2023, 6:29pm UTC](https://forum.ansible.com/t/login-once/38328/2 "2023-08-15T18:29:53Z")

</div>

Hii,  
I don't understand if you are using ansible already and that does not work.  
Or are you not using ansible at all, and is this a generic question on  
how to start using it?

---

<div class="post-metadata">

**Author:** ![Vijay\_K](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Vijay\_K](https://forum.ansible.com/u/Vijay_K)\
**Post date:** [August 23, 2023, 4:56am UTC](https://forum.ansible.com/t/login-once/38328/3 "2023-08-23T04:56:03Z")

</div>

Hi Dick ,

I am already using ansible for ios device. I have multiple commands to execute with single login.

currently using each login for executing multiple commands.

Thanks Vijay
