Re: trying to use SCP with <<EOF
- From: fearban <Fearban@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 02:55:34 -0700
On 12 Jun, 09:01, fearban <Fear...@xxxxxxxxx> wrote:
Hi,
I am running an scp command from a script
scp ~/.ssh/authorized_keys user@owl:~/.ssh/authorized_keys << EOF
yes
EOF
But it is still asking me for the response.
The authenticity of host '192.168.5.28' can't be established.
RSA key fingerprint in md5 is: e6:87:00:d5:20:35:51:4e:97:9a:62:41:cd:
46:4c:30
Are you sure you want to continue connecting(yes/no)?
Can anyone help
GB
A little background .................
Am developing an automated script to generate ssh (pub private) keys.
When completed ... then copy the public key to the remote machine
using scp .....
During this scp i get .....
The authenticity of host '192.168.5.24' can't be established.
RSA key fingerprint in md5 is: e7:88:0jj:d5:20:35:51:4e:97:9a:62:41:cd:Are you sure you want to continue connecting(yes/no)?
46:4c:30
I am using The << EOF
yes
EOF in the script.
But does not work.
Any Ideas.
Is there a way to supress asking the question
.
- References:
- trying to use SCP with <<EOF
- From: fearban
- trying to use SCP with <<EOF
- Prev by Date: trying to use SCP with <<EOF
- Next by Date: Re: trying to use SCP with <<EOF
- Previous by thread: trying to use SCP with <<EOF
- Next by thread: Re: trying to use SCP with <<EOF
- Index(es):
Relevant Pages
|
|