Re: [ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-10 Thread Asif Iqbal
On Thursday, September 10, 2015 at 7:01:45 AM UTC-4, Matt Martz wrote: > > Then it sounds like you know exactly what the problem is. > > While waiting on that looks like updating the pam config for pam_unix.so fixes the sshpass hangs as explained here https://forums.freebsd.org/threads/sshd-cu

Re: [ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-10 Thread Matt Martz
Then it sounds like you know exactly what the problem is. On Wednesday, September 9, 2015, Asif Iqbal wrote: > > > On Wednesday, September 9, 2015 at 10:38:34 PM UTC-4, Matt Martz wrote: >> >> Paramiko does not support SCP to my knowledge, only SFTP. To use SCP you >> need to use the ssh transp

Re: [ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-09 Thread Asif Iqbal
On Wednesday, September 9, 2015 at 10:38:34 PM UTC-4, Matt Martz wrote: > > Paramiko does not support SCP to my knowledge, only SFTP. To use SCP you > need to use the ssh transport and set scp_if_ssh. > > I cannot use ssh since sshpass hangs on these freebsd custom prompts I see some discussi

Re: [ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-09 Thread Matt Martz
Paramiko does not support SCP to my knowledge, only SFTP. To use SCP you need to use the ssh transport and set scp_if_ssh. It sounds to me like you have a busted SFTP configuration. You might try using SFTP manually to see what happens. On Wednesday, September 9, 2015, Asif Iqbal wrote: > > >

[ansible-project] ansible paramiko fails with failed to open a SFTP connection (Channel closed.)

2015-09-03 Thread Asif Iqbal
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 - -m ping -c paramiko remote ESTABLISH CONNECTION FOR USER: root on PORT 22