Hello,

Am Montag, 17. April 2006 01:00 schrieb houghi:
> On Sun, Apr 16, 2006 at 11:45:29PM +0200, Christian Boltz wrote:
> > Of course, you should have a SSH key (passphrase protection
> > recommended) to allow passwordless login to the server you want to
> > backup - and the public key on the server's ~/.ssh/authorized_keys
> > file.
>
> 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 ;-)

* 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"

* 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

* "no passphrase" isn't something I like...


Regards,

Christian Boltz

[1] taken from german SUSE Linux FAQ:
    10.3. Wie erstellt man einen SSH-Key? Wie kommt der Key auf den 
    Zielrechner?
    http://suse-linux-faq.koehntopp.de/q/q-ssh-keygen.html
-- 
Versuchst du mal bitte zu formulieren, was du eigentlich möchtest?
Mit diesem Posting hast du gute Chancen auf den "Marcel Stein Award".
[Christian Paul in suse-linux]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to