Hello:

  Another error appears now, I have used other format to copy:

   % scp path/file user@remote:remote_path/remote_file

 But when I execute it, this messages appears when I introduce the password:

  ksh: scp:  not found
  lost connection

   How can I resolve?

   Thank you very much.


----- Original Message -----
From: Sami Lehtinen <[EMAIL PROTECTED]>
To: Silvia Nieto Santos <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 4:36 AM
Subject: Problem with scp


> Silvia Nieto Santos, on January 2. 2001, wrote:
>   : Hello:
>   :
>   : I have a problem with scp, when I execute:
>   :
>   :  scp user@host:path/file user@remote:path/file
>   :
>   : When I introduce the password this messages appears:
>   :
>   : You have no controlling tty.  Cannot read passphrase.
>   : lost connection
>   :
>   : How can I resolve?
>   :
>   : Thank you very much.
>
> Is either of "host" or "remote" your local account (the machine where
> you run scp)? This is probably also a bug in the tty handling code,
> but you could work around it by only connecting remotely to one
> machine (it is faster too, as the way you currently use it, scp will
> connect to both hosts with ssh2, and not use local file access at
> all).
>
> For example, lets suppose "host" is the local host. Then you could use
> scp as follows:
>
>   % scp path/file user@remote:remote_path/remote_file
>   (to copy a local file to the remote)
> or
>
>   % scp user@remote:remote_path/remote_file path/file
>   (vice versa)
>
> --
> [[EMAIL PROTECTED]          --  Sami J. Lehtinen  --           [EMAIL PROTECTED]]
> [work:+358 9 85657425][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
> [SSH Communications Security Corp               http://www.ssh.com/]
>

Reply via email to