[LUGOS] scp

Lego Andy me at andy.cx
Wed Aug 21 19:00:53 CEST 2002


ssh-keygen -t rsa
parkrat <enter>
scp .ssh/id_rsa.pub whatever_host_you_want:
ssh whatever_host_you_want
cat id_rsa.pub >> .ssh/authorized_keys

To je vse.

			Andy

On Wed, 21 Aug 2002 18:33:00 +0200
Nejc Skoberne <nejc.skoberne at guest.arnes.si> wrote:

> Zdravo.
> 
> Kako bi preprical scp (ali pa sftp), da mi ne bi blo treba passworda
> vpisat (pa nocem password-less accounta)? Hocem namrec narediti
> proceduro, da se bo cez noc nek file pretocil iz enega serverja na
> drugega, pa se mi zdi da je scp oz. sftp najbolj temu podoben? man
> sftp mi pove tudi tole:
> 
>      -b batchfile
>              Batch mode reads a series of commands from an input
>              batchfile instead of stdin.  Since it lacks user
>              interaction it should be used in conjunction with
>              non-interactive authentication.  sftp will abort if any of
>              the following commands fail: get, put, rename, ln, rm,
>              mkdir, chdir, lchdir and lmkdir.



More information about the lugos-list mailing list