On Mon, Apr 17, 2006 at 02:22:20PM +0200, Christian Boltz wrote:
> > How to do that can be seen on http://houghi.org/ssh
> > A complete explanation is given there.
>
> Nice page, but it can be enhanced ;-)
Thanks. I know, every page can be enhanced. :-)
> * Copying the ssh pubkey to the remote server can be done in one step:
> [1]
>
> cat ~/.ssh/id_dsa.pub | ssh [EMAIL PROTECTED] \
> "mkdir -p .ssh; cat >> .ssh/authorized_keys"
That is nice. I just like to do it in steps when I explain something.
That way people will learn something. Otherwise I would just write a scrip
and say: run this. (Hey. Nice idea. :-)
> * If you use the default filename for your key, you don't have to give
> the filename with every ssh call (or to use an alias):
> ssh-keygen -t dsa -b 2048 # without -f filename
> You can then login with simply
> ssh [EMAIL PROTECTED] # without -i filename
It still asks for the password and the point is that it shouldn't. At least
that happens with me.
> * "no passphrase" isn't something I like...
If I don't use that, I can't run a remote script automagially. It keeps
asking for a passphrase. Now why would I eneter a passpfrase if I son't
want to enter a password.
I might need a real example on how to run a remote script.
houghi
--
Nutze die Zeit. Sie ist das Kostbarste, was wir haben, denn es
ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Werk
und Arbeit, und das Sein wichtiger als das Tun
- Johannes Müller-Elmau
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]