Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [opensuse] backup question to y'all
  • From: Christian Boltz <opensuse@xxxxxxxxx>
  • Date: Mon, 17 Apr 2006 14:22:20 +0200
  • Message-id: <200604171422.21514@xxxxxxxxxxxxxxx>

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
> 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:

cat ~/.ssh/ | ssh user@host \
"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 user@host # without -i filename

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


Christian Boltz

[1] taken from german SUSE Linux FAQ:
10.3. Wie erstellt man einen SSH-Key? Wie kommt der Key auf den
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]

< Previous Next >