<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://bliki.brandonburk.com/snipsnap/rdf'>
    <s:Snip rdf:about='http://bliki.brandonburk.com/snipsnap/rdf#Notes+on+Performing+a+SSH+Public+Key+Swap'
         s:cUser='brandon'
         s:oUser=''
         s:mUser='brandon'>
        <s:name>Notes on Performing a SSH Public Key Swap</s:name>
        <s:content>&#xD;&#xA;# SSH to the remote server and accept the certificate&#xD;&#xA;## Example: {code}ssh Brandon@myserver{code}&#xD;&#xA;# Verify creation of the .ssh directory in your user home directory&#xD;&#xA;## Linux Example: ~/.ssh&#xD;&#xA;## Windows Example: C:\Documents and Settings\myuserid\.ssh&#xD;&#xA;# Use ssh-keygen to create a key pair on your client machine&#xD;&#xA;## {code}ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P &apos;&apos;{code}&#xD;&#xA;# Copy $HOME/.ssh/id_dsa.pub to the server&#xD;&#xA;## {code}$ scp id_dsa.pub  Brandon@myserver:/home/Brandon/.ssh/id_dsa.pub{code}&#xD;&#xA;# On the server run the following commands&#xD;&#xA;## {code}$ cd $HOME/.ssh{code}&#xD;&#xA;## {code}$ cat id_dsa.pub &gt;&gt; $HOME/.ssh/authorized_keys{code}&#xD;&#xA;## {code}$ chmod 0600 $HOME/.ssh/authorized_keys{code}&#xD;&#xA;# On the client, test the results by connecting to the server via SSH&#xD;&#xA;## {code}$ ssh myserver{code}&#xD;&#xA;&#xD;&#xA;Reference: http://gerodt.homeip.net/blog/gero/2005/10/30/1130698130518.html</s:content>
        <s:mTime>2007-04-11 00:52:44.0</s:mTime>
        <s:cTime>2007-02-15 00:39:27.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='http://bliki.brandonburk.com/snipsnap/rdf#Releasing with Maven'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://bliki.brandonburk.com/snipsnap/rdf#Releasing with Maven/'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>

