What steps will reproduce the problem?
1. Create auth file with line username:password as documented
2. sshpt -f hosts -a auth "uptime"
3. Atribute error on line 453 Version 1.1.2
What is the expected output? What do you see instead?
No error
What version of the product are you using? On what operating system?
1.1.2
Please provide any additional information below:
following line should be like this
credentials = open(options.authfile).readline()
Also follwing fragements, when username and password acquired from auth
file, it should not ask usrname and password again.
if options.authfile is not None:
credentials = open(options.authfile).readline()
username, password = credentials.split(":")
# Get the username and password to use when checking hosts
if options.username == None:
username = raw_input('Username: ')
if options.password == None:
password = getpass.getpass('Password: ')
Original issue reported on code.google.com by daweiwan...@gmail.com on 27 Mar 2010 at 2:18
Original issue reported on code.google.com by
daweiwan...@gmail.com
on 27 Mar 2010 at 2:18