--On Wednesday, May 26, 2010 12:00:02 -0600
[email protected] wrote:
>> OK, but it'd be still better/easier to just use ssh with public
>> key authentication. For telnet, there is a python plugin
>> ibmrsa-telnet which could be modified for iLO.
> 
> DISPLAY=dummy SSH_ASKPASS=/bin/my_cat_passwd_file.sh ssh somewhere
> my_cat_passwd_file.sh:
># !/bin/sh
> cat /etc/passwd_file
> 
> /etc/passwd_file: 0600 root root containing your password ;-)
> 
> "Von hinten durch die Brust ins Auge", but works.

Hi,

thank you for your hints. SSH_ASKPASS did not work for me (using password
auth), ssh keeps prompting for the password. Apparently SSH_ASKPASS is for
passphrases only.

I had been told there was nothing more than just the BIOS and the CLI
available to configure these iLO1 interfaces, and there you find nothing in
terms of ssh keys. Now I found they do have a web interface that nicely
manages ssh keys (but no luck using lynx :-).

Would have been easier to begin with, but as the script now does the job I
think will just leave it at that. Also, I rather like having all stonith
parameters, including credentials, inside crm/heartbeat configuration.

Best regards
Matthias

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to