[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp question



* Florian Schnabel <florian.schnabel@docufy.de> [30-08-05 15:00]:
> Markus Meyer wrote:
> 
> >On [Tue, Aug 30 14:09], Florian Schnabel wrote:
> >
> >Hallo Florian,
> >
> >wir sprechen auch Deutsch. Immerhine ist das die LOiste
> >"debian-user-german". *g*
> >
> >>i want to copy a backup via cron to another machine every night ...
> >>i figured out that can be done with scp, but since that asks for a 
> >>password (why isn't there an option to specify it !?) i either have 
> >>to reate a pair of certificates so no password is asked (don#t really 
> >>want to do that ...) or use expect and a scmall script ...
> >>but didn't get the later working
> >
> >
> >Stichwörter: rsync, ssh, public key
> >
> >Links:
> >http://www.linux-magazin.de/Artikel/ausgabe/2004/09/backups/backups.html
> >http://www.linux-magazin.de/Artikel/ausgabe/2000/08/SSH/SSH.html
> >
> >Shalom,
> 
> hm .. wenn ich das richtig verstanden hab kann ich den SSH-key auf ein 
> kommando einschränken damit darüber keine shell geöffnet werden kann ...
> worauf muss cihs denn einschränken wenn über scp nur eine datei 
> geschrieben werden soll ??

Vielleicht ist das ja was für dich.

apt-cache show scponly
Description: Restricts the commands available to scp- and sftp-users
 "scponly" is an alternative 'shell' (of sorts) for system
 administrators who would like to provide access to remote users to
 both read and write local files without providing any remote
 execution priviledges.  Functionally, it is best described as a
 wrapper to the mostly trusted suite of ssh applications.

HTH
Jens



Reply to: