ssh

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Aug 8 16:19:41 UTC 2007


tony.chamberlain at lemko.com wrote:
> Thanks for the help with the previous question.
> 
> Another question re ssh/scp
> 
> sometimes I so an ssh or scp and I get
> 
>     The authenticity of host '10.0.3.15 (10.0.3.15)' can't be established.
>     RSA key fingerprint is d5:96:93:4e:6a:af:c0:11:ef:ef:f5:dd:7a:63:56:8a.
>     Are you sure you want to continue connecting (yes/no)?
> 
> which can be annoying buts is answerable.  However, I want to set up
> some batch
> SCPs where I won't be able to answer this question.  Do you know how I
> can do
> that?  Have it automatically answer yes.  And for the machines where I
> am not able
> to do loingless SSH (I don't have an entry in authorized_keys) I would
> like it to
> just return instead of waiting for input.
> 
> Any ideas?
> 
Read the ssh_config man page, and create your own config file to use
with your script. (-F configfile) The options you will probably want
to change from the stock config file are BatchMode and CheckHostIP.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070808/1adb3443/attachment-0001.sig>


More information about the fedora-list mailing list