From: Maxwell Lol on 20 Jun 2010 16:17 pk <pk(a)pk.invalid> writes: > Maxwell Lol wrote: > >> Stu <beefstu350(a)hotmail.com> writes: >> >>> Thanks all great solutions. I just need to know why I am being asked >>> for a password in my >>> script. Is there anyway to avoid that? >> >> I don't think you are reading the responses. >> >> It's NOT a password. > > er: he is trying to create a script using ssh. > > Connecting to diamond... > The authenticity of host 'diamond (172.16.2.14)' can't be established. > RSA key fingerprint is 35:cd:be:e4:8a:27:4e:fe:9b:c3:87:89:eb: > 52:dc:a7. > Are you sure you want to continue connecting (yes/no)? y > Please type 'yes' or 'no': yes > Warning: Permanently added 'diamond,172.16.2.14' (RSA) to the list of > known hosts. That part is NOT a password. > phartman(a)diamond's password: The second part is, but if he upts his private key in the remote site, it won't ask for this anymore.
From: Andrew McDermott on 21 Jun 2010 04:25 Stu wrote: > On Jun 18, 11:47 am, Andrew McDermott <a.p.mcderm...(a)NOSPAM-rl.ac.uk> > wrote: >> Stu wrote: >> > I am trying to using sftp to transfer a file source=gold >> > target=diamond these are >> > both aix 5.3 boxes. >> >> > I ran ssh_keygen on my source but when I run the following script >> By the way, you have place your personal public key in >> ~/.ssh/authorized_keys on "diamond", haven't you? >> > Thanks all great solutions. I just need to know why I am being asked > for a password in my > script. Is there anyway to avoid that? > > Connecting to diamond... > The authenticity of host 'diamond (172.16.2.14)' can't be established. > RSA key fingerprint is 35:cd:be:e4:8a:27:4e:fe:9b:c3:87:89:eb: > 52:dc:a7. > Are you sure you want to continue connecting (yes/no)? y > Please type 'yes' or 'no': yes > Warning: Permanently added 'diamond,172.16.2.14' (RSA) to the list of > known hosts. > phartman(a)diamond's password: I re-iterate my question: >> By the way, you have place your personal public key in >> ~/.ssh/authorized_keys on "diamond", haven't you? Andrew
First
|
Prev
|
Pages: 1 2 Prev: Locking shell sessions Next: bash doesn't recognize control-c, control-z |