Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [opensuse] backup question to y'all
  • From: Christian Boltz <opensuse@xxxxxxxxx>
  • Date: Mon, 17 Apr 2006 15:35:53 +0200
  • Message-id: <200604171535.54532@xxxxxxxxxxxxxxx>
Hello,

Am Montag, 17. April 2006 15:03 schrieb houghi:
> On Mon, Apr 17, 2006 at 02:22:20PM +0200, Christian Boltz wrote:
[...]
> > * 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
>
> It still asks for the password and the point is that it shouldn't. At
> least that happens with me.

Works without problems here ;-)

# ssh server 'date'
Mo Apr 17 15:23:02 IST 2006
# ls -l /home/cb/.ssh/ | grep id
-rw------- 1 cb users 1264 2004-01-28 17:07 id_dsa
-rw-r--r-- 1 cb users 1108 2004-01-28 17:07 id_dsa.pub

Try renaming your key to those (default) filenames, add
eval `ssh-agent`
to your ~/.profile and call ssh-add once after login.

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

see "cb-keychain" in my mail about the rsync/storeBackup combination and
eval `cat /root/.cron-ssh-agent`
at the start of the backup script ;-)


Regards,

Christian Boltz
--
[tgz Datei entpacken] tar xzf <Archiv>
Für weitere Informationen lesen Sie bitte die Manpage oder Ihren Admin.
[Torsten Hallmann in suse-linux]

< Previous Next >