Skip to content

thread13/sshpass-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshpass-debug

sshpass 1.05 with [optional] timeouts and [optional] debug output

-- nice utility from http://sourceforge.net/projects/sshpass/ , recommended for use with Ansible. However, sometimes it hangs, e.g.: http://sourceforge.net/p/sshpass/bugs/7/ , and to debug that some syslog-based messages were added.

Current attempt is to add a timeout and see if it would be enough for our purposes to have just a few exceptions in the Ansible pool.

Note: the Makefile is a simple Linux-oriented one, to restore it to a ./configure-based build look at the history.

Usage: does not differ from original 'sshpass', except for a few environment variables are available:

# log some data ( except for the password, of course ) with syslog
export SSHPASS_DBG_SYSLOG=1
# sets a (killing) timeout for every pty read,
# so that long reads from the pseudo-terminal will terminate the application
export SSHPASS_READ_TIMEOUT=10

About

sshpass 1.05 with [optional] timeouts and [optional] debug output

Resources

License

GPL-3.0, GPL-2.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published