purpose of scp -B?

Rachit Siamwalla rachit at ensim.com
Wed Feb 20 11:50:26 EST 2002


Batch mode does not require ssh-agent.

Useful in non-interactive scripts (you don't want a any questions blocking your script).

It also supresses the "host key not found, are you sure you want to continue connecting?" question. (basically fails instead unless some conf variable is set to ignore it).

-rchit

-----Original Message-----
From: woods at weird.com [mailto:woods at weird.com]
Sent: Tuesday, February 19, 2002 4:07 PM
To: dat truong
Cc: openssh-unix-dev at mindrot.org; secureshell at securityfocus.com
Subject: Re: purpose of scp -B?


[ On Monday, February 18, 2002 at 13:02:35 (-0800), dat truong wrote: ]
> Subject: purpose of scp -B?
>
> Does anybody know the intention of scp -B?

I assume you're talking about OpenSSH....  (there's no such option in
the 'scp' that comes with SSH-3.1.0) 

> Is it for batch mode processing?

     -B      Selects batch mode (prevents asking for passwords or passphras-
             es).

Yup, seems so.....

>  I assume
> that it does not require an ssh agent running.

I dunno -- have you tried it (I never use ssh-agent in the first place
so I wouldn't know if it's still needed with 'scp -B' or not).

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods at acm.org>;  <g.a.woods at ieee.org>;  <woods at robohack.ca>
Planix, Inc. <woods at planix.com>; VE3TCP; Secrets of the Weird <woods at weird.com>
_______________________________________________
openssh-unix-dev at mindrot.org mailing list
http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list