LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-16-2004, 11:07 AM   #1
davee
Member
 
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?

Dave
 
Old 12-16-2004, 02:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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 192.168.1.25


The bold bit gives a green cursor .. :)


Cheers,
Tink
 
Old 12-16-2004, 02:56 PM   #3
cjcox
Member
 
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).
 
  


Reply



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 01:56 AM
BASH colours in SSH term jambo4u Linux - Newbie 2 11-22-2005 05:44 AM
how 2 connect 2 remote host using SSH fhameed Linux - Networking 2 09-08-2004 08:42 PM
redhat 9, can't connect to ssh from remote box nathan plemons Linux - Networking 2 01-09-2004 06:21 PM
preserving konsole colours kazuni Linux - Newbie 2 06-03-2003 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 PM.

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