Results 1 to 2 of 2

Thread: SSH MOTD Colors

  1. #1
    Join Date
    Feb 2013
    Beans
    4

    Talking SSH MOTD Colors

    Hey all,
    I've got my Open SSH motd file all set up and shiny, but I'd like to add some color. I know there are some pretty great guides out there for adding color however I'm using Zshell (Still bash, not sure if that makes a difference) and I can't seem to get color enabled. Instead of showing color with
    \033[1;32m Color! \033[0m
    it shows the code instead.

    Thanks much in advance!

  2. #2
    Join Date
    Mar 2013
    Beans
    1

    Re: SSH MOTD Colors

    Maybe a little late, but what file are you trying to edit? If it's /etc/motd, it will not work.

    I created & edited the file ~/.bash_profile which works right away!

    Just make this file in your homefolder (non-root privileges, if that makes any difference?), cut-paste your whole motd in there and you're ready to go.

    Also a little note: logging in will take about ~3 seconds longer. (But I'm using a regular laptop and SSH is over wi-fi, so maybe that's the 'problem' for me)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •