scp does not die w/ error codes as's?

Pekka Savola pekkas at
Tue Nov 7 22:26:38 EST 2000


It appears that scp from OpenSSH and SSH.COM work differently here.

For example:

server $ touch a b ; chmod 000 a

client $ touch a b ; scp a b user at server:~/

OpenSSH copies file b while SSH.COM scp dies for no perms after failing to
copy a.

I take this is considered a feature ?

Pekka Savola                 "Tell me of difficulties surmounted,
Pekka.Savola at      not those you stumble over and fall"

More information about the openssh-unix-dev mailing list