| Summary: | scp fails if target account has echo "somestuff" as last line in .profile | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | tai <tai> |
| Component: | scp | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | Other | ||
| OS: | Other | ||
|
Description
tai
2002-06-13 01:34:59 AEST
so your .profile is broken. you're not supposed to do this for non-interactive session. It shouldn't matter if ~/.profile (or ~/.bash_profile) echos anything. That file should only be read for a login session. For scp, ~/.profile shouldn't be read, and scp should go on happily with life. Perhaps your setup reads ~/.profile from ~/.bashrc or ~/.kshrc? If a non-login session has shell startup files that print anything on stdout or stderr, then you create problems for scp. can't put anything into RCP stream. closing. Mass change of RESOLVED bugs to CLOSED |