Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-16-2004, 12:07 PM   #1
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Can I set ssh to change my konsole colours when I connect to a remote box?

I've usually got many sessions open at once - is there any way I can do this to remind myself I'm on a remote box?

Old 12-16-2004, 03:34 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Not that I'm aware of ... what I do is the following:
(doing all this in X that is)...

rxvt -cr green -title "MarvinSSH" -sl 6000 +ls -e ssh

The bold bit gives a green cursor .. :)

Old 12-16-2004, 03:56 PM   #3
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Usually this is done by altering your prompt.

You could change the machines profile to do a tput setaf 1 (or 2 or 3 or 4 etc) to change the foreground color, but it won't last across execution of certain commands (e.g. a color ls will probably reset things back to some default color).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing /etc/DIR_COLORS does not change colours in terminal ethics Linux - General 6 02-27-2014 02:56 AM
BASH colours in SSH term jambo4u Linux - Newbie 2 11-22-2005 06:44 AM
how 2 connect 2 remote host using SSH fhameed Linux - Networking 2 09-08-2004 09:42 PM
redhat 9, can't connect to ssh from remote box nathan plemons Linux - Networking 2 01-09-2004 07:21 PM
preserving konsole colours kazuni Linux - Newbie 2 06-03-2003 09:18 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration