ssh-add & .xsession

Hanus Adler had+dated+1006037816.fe3b9e na integralis.cz
Úterý Listopad 13 00:09:40 CET 2001


On Mon, 12 Nov 2001 14:19:21 +0100, Martin Kadlec <marty na zona-cz.cz> wrote:
>Zdravím,
>Nějak se mi ale vůbec nedaří přidat si identitu do ssh-agenta, ktereho si 
>spoustim v .Xsession
>
>Mimochodem, dospěl jsem do stavu, že v .Xsession mám jen dvě řádky
>
>ssh-agent
>ssh-add < /dev/null

no, nevím zda Vám to pomůže, ale já jsem si napsal na redhatu do
adresáře /etc/X11/xinit/xinitrc.d skript, jehož obsahem je

-------<cut here>-------
#!/bin/bash

if [ -f $HOME/.ssh/config ]; then
        eval `ssh-agent -s`
        ssh-add $HOME/.ssh/identity $HOME/.ssh/id_dsa $HOME/.ssh/id_rsa
fi
-------<cut here>-------

a to mi v KDE funguje (ale když jsem zkusil Gnome, nefungovalo to; po
příčině jsem nepátral).

zdravím

Hanuš Adler

-- 
"The day Microsoft will make something that doesn't suck is probably the
 day they'll start making vacuum cleaners."
							    -- anonymous


Další informace o konferenci Linux