scp as user -> user ends up as root ?

Marc G. Fournier marc.fournier at
Tue Mar 21 02:13:37 EST 2000

Is the following a known "bug", fixed in newer releases, or something new?

Thanks ...

>From sysA:

hermes:/tmp> scp LOG sais at iceberg:/tmp/LOG.test
LOG                  100% |*****************************|   138
00:00 ETA
hermes:/tmp> id
uid=113(edenauto) gid=680(edndev)

To sysB:

iceberg:/tmp> ls -lt LOG*
-rw-r--r--   1 root     centre        138 Mar 20 11:11 LOG.test
-rw-r--r--   1 root     other         138 Mar 20 01:30 LOG

hermes:/tmp> ssh -v
SSH Version OpenSSH-1.2.1, protocol version 1.5.
Compiled with SSL.

Marc G. Fournier                                 marc.fournier at
Senior Systems Administrator                            Acadia University

  "These are my opinions, which are not necessarily shared by my employer"

More information about the openssh-unix-dev mailing list