This is a discussion on A scp problem - Security ; Now I'm a normal user and have a file want to copy to a directory which is belong to root. Of course I need to "sudo cp xxx.c /root". But I use "scp xxx.c /root". The result is I copied ...
Now I'm a normal user and have a file want to copy to a directory which
is belong to root. Of course I need to "sudo cp xxx.c /root". But I use
"scp xxx.c /root". The result is I copied this to /root! Is there
something wrong?
My environment is Redhat Linux Advance Server version 4.