Re: Have Script Deal with SSH/SCP password Prompt
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 08/16/05
- Next message: Markus Moeller: "ftpusers file or similar for openssh"
- Previous message: cevans81_at_gmail.com: "Have Script Deal with SSH/SCP password Prompt"
- In reply to: cevans81_at_gmail.com: "Have Script Deal with SSH/SCP password Prompt"
- Next in thread: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"
- Reply: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 16 Aug 2005 18:50:56 GMT
cevans81@gmail.com wrote:
> I would much rather prefer my script to write to an error log, then
> continue with its business.
> Any ideas on how I can get my script to deal with the password prompt?
-o BatchMode=yes (or put it in a config file used by that scp).
BatchMode
If set to ``yes'', passphrase/password querying will be disabled.
This option is useful in scripts and other batch jobs where no
user is present to supply the password. The argument must be
``yes'' or ``no''. The default is ``no''.
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Next message: Markus Moeller: "ftpusers file or similar for openssh"
- Previous message: cevans81_at_gmail.com: "Have Script Deal with SSH/SCP password Prompt"
- In reply to: cevans81_at_gmail.com: "Have Script Deal with SSH/SCP password Prompt"
- Next in thread: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"
- Reply: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|