mango r147 - in trunk: . templates



Author: ovitters
Date: Tue May 20 20:54:51 2008
New Revision: 147
URL: http://svn.gnome.org/viewvc/mango?rev=147&view=rev

Log:
	* templates/user_instructions.xsl: Whenever an SSH key is added,
	inform the user about *all* the SSH keys currently set on the account.
	Could be better, but oh well.



Modified:
   trunk/ChangeLog
   trunk/templates/user_instructions.xsl

Modified: trunk/templates/user_instructions.xsl
==============================================================================
--- trunk/templates/user_instructions.xsl	(original)
+++ trunk/templates/user_instructions.xsl	Tue May 20 20:54:51 2008
@@ -92,14 +92,20 @@
 <xsl:for-each select="user/authorizedKey">
   <xsl:choose>
     <xsl:when test="boolean(@fingerprint)">
-      <xsl:value-of select="@fingerprint"/>
+      <xsl:value-of select="@fingerprint"/><xsl:text>
+</xsl:text>
     </xsl:when>
     <xsl:otherwise>
-      <xsl:value-of select="concat(substring(., 0, 20), '...', substring(., string-length(.) - 40))"/>
+      <xsl:value-of select="concat(substring(., 0, 20), '...', substring(., string-length(.) - 40))"/><xsl:text>
+</xsl:text>
     </xsl:otherwise>
   </xsl:choose>
 </xsl:for-each>
 
 
+To see the fingerprint of your public SSH key, run:
+  ssh-keygen -l
+or:
+  ssh-keygen -l -f $FILE
 </xsl:template>
 </xsl:stylesheet>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]