Skip to content

Instantly share code, notes, and snippets.

@eLafo
Created August 4, 2011 15:49
Show Gist options
  • Save eLafo/1125487 to your computer and use it in GitHub Desktop.
Save eLafo/1125487 to your computer and use it in GitHub Desktop.
Colored ssh
#!/bin/bash
BACK=$3
FORE=$4
setterm -term linux -back ${BACK:='default'} -fore ${FORE:='default'} -clear
ssh -l ${1} ${2};setterm -term linux -back default -fore default;clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment