Results 1 to 5 of 5

Thread: Setting for Directory / File colors in SSH terminal connections

  1. #1
    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?

  2. #2
    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.

  3. #3
    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.

  4. #4
    Join Date
    Nov 2009
    Posts
    687

    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
    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.

  5. #5
    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.

Similar Threads

  1. How to limit concurrent connections in active directory
    By Hardik in forum Active Directory
    Replies: 4
    Last Post: 22-05-2011, 11:23 PM
  2. Replies: 4
    Last Post: 17-05-2010, 10:15 PM
  3. Setup Konsole terminal for changing colors
    By Cody in forum Customize Desktop
    Replies: 2
    Last Post: 21-01-2009, 09:40 AM
  4. 2003 Terminal Server on Active Directory Domain Controller
    By Jahbriel in forum Active Directory
    Replies: 1
    Last Post: 03-02-2008, 10:34 PM
  5. Terminal server exeeded the maximum number of allowed connections
    By Chad Gross in forum Small Business Server
    Replies: 1
    Last Post: 01-02-2006, 07:20 AM

Tags for this Thread

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
  •  
Page generated in 1,713,955,492.76667 seconds with 17 queries