Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Setting for Directory / File colors in SSH terminal connections

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 11-11-2010
Member
 
Join Date: Aug 2010
Posts: 71
Setting for Directory / File colors in SSH terminal connections
  

I have recently become aware of an irritating subject with single from many servers at job. As soon as I login using SSH, the directory and folder colors are a bit tedious. This is not the last part of the world however driver me nuts to gaze at the midnight blue directory colors on a black backdrop. On extra servers, the directory colors are a lot brighter. How do I alter the worldwide choice for the color display?

Reply With Quote
  #2  
Old 11-11-2010
Member
 
Join Date: Nov 2009
Posts: 824
Re: Setting for Directory / File colors in SSH terminal connections

I have a solution for this question you need to do just change the settings of the alias to the not to display the colors and see that you are getting the solution or not. If you are still getting the same errors then just you need to do more changes in the slackware you have to modify /etc/DIR_colors. I after this you will get the solution for the [problem you are getting.
Reply With Quote
  #3  
Old 11-11-2010
Member
 
Join Date: Aug 2010
Posts: 71
Re: Setting for Directory / File colors in SSH terminal connections

I am utilizing technical Linux on my device and I utilize SSH to attach to a apple device. I am not been capable to observe any color on the workstation. Not for files and executable and not in VI also even if I set color on. So I presume the link does not allow colors. I am capable to attach to other device which are once more Scientific Linux and will display all colors. Please propose what could be the solution to this problem.
Reply With Quote
  #4  
Old 11-11-2010
Member
 
Join Date: Nov 2009
Posts: 681
Re: Setting for Directory / File colors in SSH terminal connections

To resolve this, I write down a modified script that initial sets a single window name, and then choose the suitable window based on that name. With single script, you can direct as many dissimilar SSH host/color mixture you'd like. Cleanly add custom colors to the folder testimonial where designate, and connection to the script by means of the name of the fresh host you'd like.
Example:
Code:
% cd bin
% ln -s ssh_host foobar
% rehash    ## for tcsh shell [or]
% hash -r   ## for bash shell
% foobar
To maintain host names short, you can moreover add
Quote:
an /etc/hosts alias
, or connection with the complete hostname (e.g. ln -s ssh_host foobar.baz.com) and make a shell alias for it. If you put your individual window name with a precmd alias or alike, you might desire to eliminate the last echo which clears the title.
Reply With Quote
  #5  
Old 12-11-2010
Member
 
Join Date: Nov 2008
Posts: 1,185
Re: Setting for Directory / File colors in SSH terminal connections

I have one more idea to utilize this script that would be extra transparent to the consumer.
  • Alter the host variable to utilize the dispute in its place of the script name.
  • In your shell change it to alias ssh to ssh_host.
  • Now calling ssh hostname will put the color and identify ssh.
By means of a little work you could too pass extra advice to ssh.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Setting for Directory / File colors in SSH terminal connections"
Thread Thread Starter Forum Replies Last Post
How to limit concurrent connections in active directory Hardik Active Directory 4 22-05-2011 11:23 PM
How to increase terminal services for monitoring active connections Dipu Networking & Security 4 17-05-2010 10:15 PM
Setup Konsole terminal for changing colors Cody Customize Desktop 2 21-01-2009 09:40 AM
2003 Terminal Server on Active Directory Domain Controller Jahbriel Active Directory 1 03-02-2008 10:34 PM
Terminal server exeeded the maximum number of allowed connections Chad Gross Small Business Server 1 01-02-2006 07:20 AM


All times are GMT +5.5. The time now is 08:49 AM.