| Summary: | scp could prevent write access to server | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | gfernandez | ||||
| Component: | scp | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED INVALID | ||||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
gfernandez
2002-11-08 00:35:34 AEDT
Created attachment 174 [details]
adds readonly flag to scp
this change applies to scp.c
What about command: $ ssh user@host '( cat > FILE_NAME_ON_REMOTE_HOST )' < FILE_NAME_ON_LOCAL_HOST this is same as: $ scp FILE_NAME_ON_LOCAL_HOST user@host:FILE_NAME_ON_REMOTE_HOST like most security issues, this change would not be sufficient by itself. In my setup I've made other changes that make cat unavailable (i.e. by using chroot ()). Mass change of RESOLVED bugs to CLOSED |