scp一直没用好过。
.Error: scp .bashrc line editing not enabled
==>
http://websaucesoftware.com/ubuntu/ssh-works-sftp-doesnt-on-ubuntu-10-04
http://superuser.com/questions/240223/warning-line-editing-not-enabled
http://ask.debian.net/questions/scp-to-debain-7-0-results-in-errors-from-bashrc
可用的方法:
1.edited my ~/.bashrc to include:
[ -z “$PS1” ] && return
2. mv .bashrc .bash_profile