scp user at host1 user at host2 broken?
Markus Friedl
markus.friedl at informatik.uni-erlangen.de
Mon Feb 26 00:44:42 EST 2001
On Sat, Feb 24, 2001 at 07:14:24PM +0200, Pekka Savola wrote:
> Hello all,
>
> Is it just me or is 'scp user at host1 user at host2' broken (if the server asks
> you for the password)?
yes it is.
it's just an 'alias' for
ssh user at host1 'scp FILE user at host2'
(this works only if the scp does not need a tty, e.g.
if agent-fwd is used).
perhaps it should do
ssh -t user at host1 'scp FILE user at host2'
but perhaps i'm wrong.
> 1) [password required]
>
> >From OpenSSH 2.5.1p1 -> OpenSSH 2.5.1p1 -> OpenSSH 2.3.0, I get like:
>
> > scp pekkas at xxx:~/*.patch psavola at yyy:~/temp/
> psavola at xxx's password:
> You have no controlling tty. Cannot read passphrase.
> lost connection
as expected.
-markus
More information about the openssh-unix-dev
mailing list