# SSH connection module for \`netscaler.adc\` collection

**URL:** <https://forum.ansible.com/t/ssh-connection-module-for-netscaler-adc-collection/3367>\
**Category:** Get Help\
**Tags:** ssh, collections\
**Created:** [January 18, 2024, 8:41am UTC](https://forum.ansible.com/t/ssh-connection-module-for-netscaler-adc-collection/3367 "2024-01-18T08:41:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumanth-lingappa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sumanth-lingappa/32/839_2.png) [@sumanth-lingappa](https://forum.ansible.com/u/sumanth-lingappa)\
**Post date:** [January 18, 2024, 8:41am UTC](https://forum.ansible.com/t/ssh-connection-module-for-netscaler-adc-collection/3367/1 "2024-01-18T08:41:17Z")

</div>

I am writing `netscaler.adc` ansible collection

When I SSH into my ADC, the prompt looks like below

```bash
❯ ssh nsroot@myadc
###############################################################################
# #
# WARNING: Access to this system is for authorized users only #
# Disconnect IMMEDIATELY if you are not an authorized user! #
# #
###############################################################################

(nsroot@10.10.10.10) Password: 
Warning: <some warnings>.
 Done
> 
> shell
root@ADC# 
root@ADC# 
root@ADC# 

```

SSH-ing to the ADC directly takes me to NSCLI-prompt and not bash.  
I will have to execute `shell` command to take me to shell prompt.

How can I run a command in my ADC shell using ansible, eg. `# mkdir abcd` on my shell?

---

<div class="post-metadata">

**Author:** ![chris](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris/32/293_2.png) [@chris](https://forum.ansible.com/u/chris)\
**Post date:** [January 18, 2024, 9:00am UTC](https://forum.ansible.com/t/ssh-connection-module-for-netscaler-adc-collection/3367/2 "2024-01-18T09:00:45Z")

</div>

Could the [ansible.builtin.expect module](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/expect_module.html) be used for this?
