X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=ssh-emacs-setup;h=80976f056df0eb22e1f135f42e4b6c4b180d6de6;hp=ee1dd087ba8e9a443ce5135210996ff9c7db0371;hb=79b274fcd8bfa556133ab13270e84b40aebe8468;hpb=eb9b839bb5a91c60cc4f6eb9d7e38ffbf73f0e90 diff --git a/ssh-emacs-setup b/ssh-emacs-setup index ee1dd08..80976f0 100755 --- a/ssh-emacs-setup +++ b/ssh-emacs-setup @@ -22,8 +22,8 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR cd $(dirname $0) -teeu /etc/ssh/ssh_config 'SendEnv INSIDE_EMACS BASH_LOGIN_SHELL COLUMNS' -teeu /etc/ssh/sshd_config 'AcceptEnv INSIDE_EMACS BASH_LOGIN_SHELL COLUMNS' +teeu /etc/ssh/ssh_config 'SendEnv INSIDE_EMACS BRC COLUMNS' +teeu /etc/ssh/sshd_config 'AcceptEnv INSIDE_EMACS BRC COLUMNS' # get rid of useless motd stuff sed -i --follow-symlinks 's/^\s*PrintLastLog .*/PrintLastLog no/' /etc/ssh/sshd_config rm -f /etc/update-motd.d/10-help-text /etc/update-motd.d/00-header