passwordless SSH
Ewan Mac Mahon
ewan at macmahon.me.uk
Fri Apr 8 14:43:09 UTC 2005
On Wed, Apr 06, 2005 at 09:48:01PM -0400, Michael R. Head wrote:
> On Thu, 2005-04-07 at 01:46 +0100, Soo-Hyun Choi wrote:
> > Yes, that's true. But, what I would like to do is also avoiding
> > executing the ssh-agent by hand after X window start up. Is there any
> > way that I start ssh-agent automatically together with X window when I
> > boot up the system?
>
> The gdm startup scripts on Ubuntu automatically start it for you. That's
> why 'ssh-add' should "just work."
>
I think he might mean that he wants to run ssh-add automatically; if
not, and ssh-agent isn't actually being started the folowing won't work:
To run ssh-add automatically when you log into Gnome go to
System->Preference->Sessions, then pick the 'Startup Programs' tab (on
the right) click 'Add' and put ssh-add into the command box. Next time
you log in you'll get a nice graphical box for your passphrase.
As a detail I've had some bother calling things with parameters this
way, if your key has a default name then jut plain 'ssh-add' ought to
work; if you need to do 'ssh-add keyfilename' then your best bet is
probably to symlink the real key to the default name.
Ewan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050408/1382d083/attachment.sig>
More information about the ubuntu-users
mailing list