Re: scp and password as parameter

From: HSpirit (no-spam-to-hspirit_enterprises@hotmail.com)
Date: 12/17/02


Date: Tue, 17 Dec 2002 16:22:14 +1030
From: HSpirit <no-spam-to-hspirit_enterprises@hotmail.com>

Use the command= and no-pty options in the ~/.ssh/authorized_keys
configuration file to restrict what a password-less SSH session is
allowed to do.

See the section titled 'AUTHORIZED_KEYS FILE FORMAT' in the manual pages
for sshd for further information.

Ergin Aytac wrote:
> I have a lot of "black-box" servers and want to send backups-files to
> several remoute server (as cron-job).
>
> is it possible to use scp with password as parameter? If not how can I write
> batch-jobs without having any identity-file? I don't want to use
> identity-files because in my case if someone gets access to the server he
> is able to make a connection to backup-servers without using password.
>
> thank you for any hints.
>
> ergin