-# Print the SSH RSA Authentication keys for a user
-def PrintSshDSAKeys(Attrs):
- if Attrs[1].has_key("sshdsaauthkey") == 0:
- return;
- First = 0;
- for x in Attrs[1]["sshdsaauthkey"]:
- if First == 0:
- print "%-24s:" % ("SSH DSA Auth Keys"),
- First = 1;
- else:
- print "%-24s:" % (""),
-
- print FormatSSH2Auth(x);
-