Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

updateScreenWindowTitles

Make ssh and telnet more useful in GNU screen/byobu. The scripts rely on $STY being set in the pseudoterminal.

Usage:

Save files to ~/bin. If necessary, create directory first:

mkdir ~/bin

Make aliases in a dotfile á la

echo "
## Below aliases that hijack 'telnet' and 'ssh' to make 'screen' or 'byobu' update
## with hostname of the device you're trying to reach

alias ssh='~/bin/ss.sh'
alias telnet='~/bin/tn.sh'
##
" >> ~/.bashrc

(That is, assuming you are using bash - if you're not, you probably already know what to do)

Presto.

About

ssh in byobu/screen

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors