SSH - tool

Roni Karpachevsky
Mon, 20 Sep 2004 10:02:40 -0000

Hello ,

In my new project we start to use the following commands : ssh , scp and sftp  .
Server: hp-ux
Environment : ksh
Ssh version : 2

I have a few question about the ssh definition :


1. Description:
         When we connect to user via script ( batch mode ) by using the command
"ssh -l remote_user remote_host"  - this session is stuck ( wait input
from user - password).

      What we need to perform exactly for "ssh" command so it will
fail in case it wait input ( in "scp" command we use '-B' flag
)?

2. Description: For time out limit we use TMOUT in ksh , timeout in tcl and
expect .

       Please explain how we can define timeout in ssh tool?

3. When I connect to remote user at the first time I get the following message :

 The authenticity of host '<remote_machine> (XXX.XXX.XXX.XXX)'
can't be established.
RSA key fingerprint is XXXXXXXXXXXXXXXXXXXXXX.
Are you sure you want to continue connecting (yes/no)?

  How we can avoid this massage at any time ?


Thanks in advance .....


Regards,
Roni Karpachevsky
phone: 09-7763977
mail: ronika at amdocs.com


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.