Question on remote command execution



Hi,

I created keys using ssh-keygen command and keys are stored in default
locations. I copied identity.pub file to authorized_keys file. I could
run remote commands. But I have few questions

1 . When I try to run remote command, it prompts like the following
Are you sure you want to continue connecting (yes/
no)?
I dont want this to be prompted. I want to say YES by default. Is
there anyway i can achieve this without a prompt?


2. when i run ssh-keygen, it creates keys, this prompts user for
passphrase, private key file location. Is there anyway i can avoid
user prompting and take default values by default.

Thanks in advance,
Sandeep
.