From 0b9ba49db53f6774f271b3fcb52b883d3cfc0b49 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 1 Aug 2018 18:44:24 +0300 Subject: .bashrc: fix ssh inside screen --- %HOME%/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '%HOME%') diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 3ff6820..9c3a3fa 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -57,6 +57,10 @@ alias cls='echo -en "\ec"' alias copy='xclip -sel clip' +# Make ssh work properly when connecting to some CentOS servers from inside a +# screen session: +alias ssh='TERM=vt100 ssh' + # Make sure ssh-copy-id copies public keys along with their comments. alias ssh-copy-id='ssh-copy-id -i' -- cgit v1.2.3