On Thu, Jul 19, 2001 at 09:42:44AM +0200, Sikora, Grzegorz SD wrote:
> By the way, I have another question. Why when I'm coping files through scp
> the message occurs?
>
> stty: : Invalid argument
You must have "stty" in one of your shell's login scripts (/etc/profile or
~/.profile or ~/.bash_profile etc.) or startup scripts (~/.bashrc etc.).
You need to shield such commands so that they aren't executed when your
shell is not attached to a tty.
For example, change
stty erase \^h
to something like
if [ -t 0 ]; then
stty erase \^h
fi