[Bug 274] scp fails if target account has echo "somestuff" as last line in .profile

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jun 13 08:12:31 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=274





------- Additional Comments From jmknoble at pobox.com  2002-06-13 08:12 -------
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.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list