SSH configuration questions

Rasjid Wilcox rasjidw at openminddev.net
Sat Aug 3 18:52:18 EST 2002


On Sat, 3 Aug 2002 6:05 pm, Brad Hards wrote:
> Setting up my local systems to use RSA keys for SSH (so I don't
> have to keep putting in passwords for scp & ssh).
>
> All seems to be working well, except for getting ssh-add to
> run automatically. I use KDE, and I can make it work by running
> xterm -e ssh-add from .xsessions.
>
> But that isn't very cool (because I get this xterm between logging
> in and my session-proper starting).
>
> Ideally what I would like is to have x11-ssh-askpass run the first
> time I need to enter a password (eg the first ssh session that I open).
> A better looking GUI would be OK too.
>
> Failing that, I'd like to have x11-ssh-askpass run on login. I tried
> adding it to the Autostart directory, and it will run, but it doesn't
> seem to deliver the passphrase to ssh-agent. There is no man
> page for x11-ssh-askpass AFAICT.
>
> Is there a better way than writing a script like:
> #! /bin/bash
> SSH_ASKPASS="/usr/libexec/openssh/x11-ssh-askpass"
> ssh-add < /dev/null
> exit 0
>
> and running it from the KDE Autostart facility?
>
> I am mainly trying to make life easy for myself, but
> I still want a pass-phrase for the private key :)



More information about the linux mailing list