This is not a gnome-terminal bug, but due to the design of ssh/scp. In your .bashrc/.profile, make the echo happen only if it's output to a terminal, e.g. if [ -t 1 ]; then echo whatever you wish to see on login fi
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1376152 Title: scp remote fail when exists "echo" command in the .bashrc script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1376152/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs