librelist archives

« back to archive

Public key authentication for SSH?

Public key authentication for SSH?

From:
Alexander Riepl
Date:
2014-12-07 @ 18:05
Hi,

I recently discovered Attic in my pursuit to replace a conglomerate of
shellscripts that currently handle my backups. I like it, very much, so
far and want to implement it for my systems. There aren't any problems
for local backups to an external hard disk, but for remote backups which
are transmitted via SSH I couldn't find anything on using SSH-keys in
the documentation.

Does Attic allow authentication via SSH-keys? If so, where can I find
the syntax? (I can happily live with RTFM, but a pointer where in the M
I can find the information would be nice.)

~ ari

Re: [attic] Public key authentication for SSH?

From:
Thiago Coutinho
Date:
2014-12-07 @ 18:12
Just make sure you can access the remote server with your key and you're
good.
Em 07/12/2014 16:06, "Alexander Riepl" <ari@housingsklave.at> escreveu:

> Hi,
>
> I recently discovered Attic in my pursuit to replace a conglomerate of
> shellscripts that currently handle my backups. I like it, very much, so
> far and want to implement it for my systems. There aren't any problems
> for local backups to an external hard disk, but for remote backups which
> are transmitted via SSH I couldn't find anything on using SSH-keys in
> the documentation.
>
> Does Attic allow authentication via SSH-keys? If so, where can I find
> the syntax? (I can happily live with RTFM, but a pointer where in the M
> I can find the information would be nice.)
>
> ~ ari
>
>

Re: [attic] Public key authentication for SSH?

From:
Alexander Riepl
Date:
2014-12-07 @ 18:15
> Just make sure you can access the remote server with your key and you're
> good.

With which key? My key for the backupuser isn't located in
˜/$username/.ssh/id_rsa - is there a must for it being located in that
specific folder? Or is there an option like ssh's -i /path/to/idfile?

Re: [attic] Public key authentication for SSH?

From:
Thiago Coutinho
Date:
2014-12-07 @ 18:18
Use the ssh_config. Search on  Google.
Em 07/12/2014 16:16, "Alexander Riepl" <ari@housingsklave.at> escreveu:

> > Just make sure you can access the remote server with your key and you're
> > good.
>
> With which key? My key for the backupuser isn't located in
> ˜/$username/.ssh/id_rsa - is there a must for it being located in that
> specific folder? Or is there an option like ssh's -i /path/to/idfile?
>
>

Re: [attic] Public key authentication for SSH?

From:
Alexander Riepl
Date:
2014-12-07 @ 18:27
> Use the ssh_config. Search on  Google.

That's what I wanted to know. If there is a built-in in attic or if I
need to modify the host's ˜/.ssh/config. Thanks..

Sv: [attic] Public key authentication for SSH?

From:
Petter Gunnerud
Date:
2014-12-07 @ 22:43
http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html



----- Opprinnelig melding ----
Fra: Alexander Riepl <ari@housingsklave.at>
Til: attic@librelist.com
Kopi: 
Sendt: søndag, 7. desember 2014 19.27
Emne: Re: [attic] Public key authentication for SSH?

> Use the ssh_config. Search on  Google.

That's what I wanted to know. If there is a built-in in attic or if I
need to modify the host's ˜/.ssh/config. Thanks..

Re: Sv: [attic] Public key authentication for SSH?

From:
Alexander Riepl
Date:
2014-12-08 @ 23:01
> http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html

Thank you. But as I pointed out I wanted to need IF I need to configure
the behaviour in the SSH-client's configuration, not HOW to achieve it.
That has been answered now.

~ ari