Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
|
| Andre> But know I have to give my password on every 'cvs diff' (which
| Andre> I do quite often). I think this can be solved by putting my
| Andre> public identity in .ssh/authorized_keys on baywatch, but I
| Andre> don't know whether this is a save and approved way.
|
| You can use ssh-agent to give your password only once, and then start
| a shell in which it will not be needed anymore.
On my box (I boot into runlevel 5) I start ssh-agent from
/etc/X11/xdm/Xsession:
#!/usr/bin/ssh-agent /bin/sh
#!/bin/sh
# Copyright (c) 1999, 2000 Red Hat, Inc.
And start ssh-add from my KDE Desktop/Autostart
Then all my programs will inherit from ssh-agent and I can use ssh
regardless of what xterm/xconose I am in. (of course for virtual
console I have to give the password again, evt. start a new ssh-agent)
Lgb