--- SSH-with-Keys-HOWTO.pristine.v0.05.sgml Wed Nov 21 11:10:42 2001 +++ SSH-with-Keys-HOWTO.sgml Wed Nov 21 11:31:58 2001 @@ -4,7 +4,7 @@
This part is next in line :)
+If you start up X from the command line, here's one approach to starting X with the agent. Open up a terminal, and type:
+ +
+ssh-agent startx & sleep 10 ; exit
+
+
+This starts up X inside the ssh-agent. After 10 seconds - enough time for X to get going - the terminal closes itself, making it impossible for someone to get a shell prompt by simply ctrl-alt-fx switching to that terminal.
+ +Once X starts, open up a shell and type:
+
+
+ssh-add
+
+
+
Once you enter your passphrase, all windows you open under this X session can use the ssh-agent to get you private key. It's rather important that you lock your terminal whenever you're away from it with something like:
+ +
+xlock
+
+
+to keep others from sitting down at your machine and instantly getting access to all the remote machines with your key.
+ +This part is in progress :)
Where you can find links to discussion, and other related HOWTO's and items.
@@ -264,6 +288,10 @@