On Wednesday, September 9, 2015 at 8:36:30 PM UTC-4, Asif Iqbal wrote:
>
>
>
> On Thursday, September 3, 2015 at 2:25:44 PM UTC-4, Asif Iqbal wrote:
>>
>> Hi All
>>
>> I am trying to connect to some freebsd server with custom password 
>> prompt. So I need to use paramiko since sshpass hangs on custom password 
>> prompt.
>>
>> With -c paramiko now I get the following error...
>>
>> $ ansible -vvvv -m ping -c paramiko remote
>> <remote> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO remote
>> <remote> REMOTE_MODULE ping
>> <remote> EXEC /bin/sh -c 'mkdir -p 
>> /export/home/axisys/.ansible/tmp/ansible-tmp-1441304559.02-141114907172308 
>> && chmod a+rx 
>> /export/home/axisys/.ansible/tmp/ansible-tmp-1441304559.02-141114907172308 
>> && echo 
>> /export/home/axisys/.ansible/tmp/ansible-tmp-1441304559.02-141114907172308'
>> <remote> PUT /tmp/tmpPcx8Lk TO 
>> /export/home/axisys/.ansible/tmp/ansible-tmp-1441304559.02-141114907172308/ping
>> remote | FAILED => failed to open a SFTP connection (Channel closed.)
>>
>> Any suggestion on how to get a workaround.
>>
>> Thanks
>>
>>
> Still looking for some help .. I still cannot connect to these freebsd 
> servers
>  
>

Looks like a pull request is pending to make scp default for paramiko 
instead of sftp

 https://groups.google.com/forum/#topic/ansible-project/pjFYB8tBGgE

Any suggestion how to make scp default for paramiko? I am using ansible 
1.7.1

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fbee1a9b-8a3a-4056-b200-3ceb12a01366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to