How to set default screen colours in putty/sshSet PuTTY's appearance in WindowsUsing colour schemes with vim...

How can I be pwned if I'm not registered on the compromised site?

Did Amazon pay $0 in taxes last year?

Sundering Titan and basic normal lands and snow lands

Named nets not connected in Eagle board design

Why won't the strings command stop?

Area Under the Curve - Variable and Log Transformed Variable

What is the meaning of option 'by' in TikZ Intersections

Are Wave equations equivalent to Maxwell equations in free space?

What does "rhumatis" mean?

Are small insurances worth it

Align equations with text before one of them

Does the in-code argument passing conventions used on PDP-11's have a name?

“I had a flat in the centre of town, but I didn’t like living there, so …”

What is the purpose of a disclaimer like "this is not legal advice"?

Quitting employee has privileged access to critical information

The need of reserving one's ability in job interviews

What does it mean when I add a new variable to my linear model and the R^2 stays the same?

Why is there an extra space when I type "ls" on the Desktop?

The (Easy) Road to Code

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

Does the US political system, in principle, allow for a no-party system?

What is better: yes / no radio, or simple checkbox?

Error in TransformedField

Remove object from array based on array of some property of that object



How to set default screen colours in putty/ssh


Set PuTTY's appearance in WindowsUsing colour schemes with vim and puttyPutty and screen under CentOS 6emacs 24 color-theme not workingHow to change the default colour style for SmartArt in Office?Putty solarized the manual wayHandling black text in a dark terminal colour schemeHow to set Clink's output color?How to get color to appear the same in Linux everywhere?How do I change font colours on Babun in Windows / Cgywin













21















I use putty to ssh to linux box. By default I get black screen background with white foreground.
To change colours, I go to change settings -> Window/colours and then I set background colours as white and foreground colours as black. This is more easy on my eyes. But I can't seem to be able to set this colour setting as default and each time I login, I have to set colours.
Could someone please suggest a solution?



Thanks,










share|improve this question













migrated from stackoverflow.com Dec 7 '10 at 1:15


This question came from our site for professional and enthusiast programmers.



















  • question for "superuser"

    – Drakosha
    Dec 6 '10 at 9:42
















21















I use putty to ssh to linux box. By default I get black screen background with white foreground.
To change colours, I go to change settings -> Window/colours and then I set background colours as white and foreground colours as black. This is more easy on my eyes. But I can't seem to be able to set this colour setting as default and each time I login, I have to set colours.
Could someone please suggest a solution?



Thanks,










share|improve this question













migrated from stackoverflow.com Dec 7 '10 at 1:15


This question came from our site for professional and enthusiast programmers.



















  • question for "superuser"

    – Drakosha
    Dec 6 '10 at 9:42














21












21








21


1






I use putty to ssh to linux box. By default I get black screen background with white foreground.
To change colours, I go to change settings -> Window/colours and then I set background colours as white and foreground colours as black. This is more easy on my eyes. But I can't seem to be able to set this colour setting as default and each time I login, I have to set colours.
Could someone please suggest a solution?



Thanks,










share|improve this question














I use putty to ssh to linux box. By default I get black screen background with white foreground.
To change colours, I go to change settings -> Window/colours and then I set background colours as white and foreground colours as black. This is more easy on my eyes. But I can't seem to be able to set this colour setting as default and each time I login, I have to set colours.
Could someone please suggest a solution?



Thanks,







linux colors productivity ksh putty






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 6 '10 at 9:27









p2pnodep2pnode

69751528




69751528




migrated from stackoverflow.com Dec 7 '10 at 1:15


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Dec 7 '10 at 1:15


This question came from our site for professional and enthusiast programmers.















  • question for "superuser"

    – Drakosha
    Dec 6 '10 at 9:42



















  • question for "superuser"

    – Drakosha
    Dec 6 '10 at 9:42

















question for "superuser"

– Drakosha
Dec 6 '10 at 9:42





question for "superuser"

– Drakosha
Dec 6 '10 at 9:42










6 Answers
6






active

oldest

votes


















44














On the "Session" screen, click "Default Settings" and "Load". Then set up your Colors and other useful Options. Go back to the "Session" screen, click "Default Settings" once and then "Save".



All new connection windows will now look as expected.






share|improve this answer



















  • 4





    Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

    – Christian Woerz
    Dec 28 '15 at 16:52



















3














The above instructions will only change colors for the default session. Most PuTTY users have saved sessions for each of the SSH accounts that they use regularly, and none of them are named "Default Settings".



To spare yourself the pain of having to set the colors every time you log in, load any of the saved sessions for which you wish to change the colors (click Load), but do not click Open. Click Window->Colours and set the colors, then click Session again, then click Save. Repeat for each of your saved sessions. Then when you open them, the colors will be what you have set them to be.






share|improve this answer































    0















    • Open PuTTY

    • Under Saved Sessions, click on a saved session

    • Click Load

    • Click on Window->Colours

    • Under General options for colour usage, click the top two check boxes: Allow terminal...

    • Go back to Session

    • Click Save

    • Click Open


    Now when I log into my Raspberry Pi, the command line and directories are shown in color.






    share|improve this answer































      0














      Alternately, if you don't want to set the colors in Putty itself, you can set them in your Linux shell (if you add commands to your .login they will run anytime you log in):



      tput setab 5     <== sets background color
      tput setaf 2 <== sets font color
      clear <== clears the screen so the changes apply to entire window


      Putty will respect these changes






      share|improve this answer































        0














        To edit colors for existing sessions:
        PUTTY stores session data in the windows registry.



        I changed the default session colors (R, G, B) after I had many sessions created.




        • blue to 15, 154, 229

        • red 244, 67,54


        In your registry



        HKEY_LOCAL_USERSS-1-5-<biggest no.>SoftwareSimonTathamSessions


        open the Default%20Settings folder. The key Color14 contains the value for blue, the key Color8 contains the value for red.



        Simply double-click Color8 and copy the value and paste it to all other Sessions/folders in that "Sessions" folder, same with Color14.



        You also could export the entire "Sessions" folder to a .reg file, edit it with and import it again.






        share|improve this answer































          0














          For anyone looking for a way to go back to default PuTTY colours you need to remove the following registry key:



          ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSessionsDefault Settings





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f219231%2fhow-to-set-default-screen-colours-in-putty-ssh%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            6 Answers
            6






            active

            oldest

            votes








            6 Answers
            6






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            44














            On the "Session" screen, click "Default Settings" and "Load". Then set up your Colors and other useful Options. Go back to the "Session" screen, click "Default Settings" once and then "Save".



            All new connection windows will now look as expected.






            share|improve this answer



















            • 4





              Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

              – Christian Woerz
              Dec 28 '15 at 16:52
















            44














            On the "Session" screen, click "Default Settings" and "Load". Then set up your Colors and other useful Options. Go back to the "Session" screen, click "Default Settings" once and then "Save".



            All new connection windows will now look as expected.






            share|improve this answer



















            • 4





              Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

              – Christian Woerz
              Dec 28 '15 at 16:52














            44












            44








            44







            On the "Session" screen, click "Default Settings" and "Load". Then set up your Colors and other useful Options. Go back to the "Session" screen, click "Default Settings" once and then "Save".



            All new connection windows will now look as expected.






            share|improve this answer













            On the "Session" screen, click "Default Settings" and "Load". Then set up your Colors and other useful Options. Go back to the "Session" screen, click "Default Settings" once and then "Save".



            All new connection windows will now look as expected.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 6 '10 at 9:31









            Linus KleenLinus Kleen

            64888




            64888








            • 4





              Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

              – Christian Woerz
              Dec 28 '15 at 16:52














            • 4





              Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

              – Christian Woerz
              Dec 28 '15 at 16:52








            4




            4





            Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

            – Christian Woerz
            Dec 28 '15 at 16:52





            Important note is, that as mentioned it only works for new connections. Existing ones will stay as the were before the change.

            – Christian Woerz
            Dec 28 '15 at 16:52













            3














            The above instructions will only change colors for the default session. Most PuTTY users have saved sessions for each of the SSH accounts that they use regularly, and none of them are named "Default Settings".



            To spare yourself the pain of having to set the colors every time you log in, load any of the saved sessions for which you wish to change the colors (click Load), but do not click Open. Click Window->Colours and set the colors, then click Session again, then click Save. Repeat for each of your saved sessions. Then when you open them, the colors will be what you have set them to be.






            share|improve this answer




























              3














              The above instructions will only change colors for the default session. Most PuTTY users have saved sessions for each of the SSH accounts that they use regularly, and none of them are named "Default Settings".



              To spare yourself the pain of having to set the colors every time you log in, load any of the saved sessions for which you wish to change the colors (click Load), but do not click Open. Click Window->Colours and set the colors, then click Session again, then click Save. Repeat for each of your saved sessions. Then when you open them, the colors will be what you have set them to be.






              share|improve this answer


























                3












                3








                3







                The above instructions will only change colors for the default session. Most PuTTY users have saved sessions for each of the SSH accounts that they use regularly, and none of them are named "Default Settings".



                To spare yourself the pain of having to set the colors every time you log in, load any of the saved sessions for which you wish to change the colors (click Load), but do not click Open. Click Window->Colours and set the colors, then click Session again, then click Save. Repeat for each of your saved sessions. Then when you open them, the colors will be what you have set them to be.






                share|improve this answer













                The above instructions will only change colors for the default session. Most PuTTY users have saved sessions for each of the SSH accounts that they use regularly, and none of them are named "Default Settings".



                To spare yourself the pain of having to set the colors every time you log in, load any of the saved sessions for which you wish to change the colors (click Load), but do not click Open. Click Window->Colours and set the colors, then click Session again, then click Save. Repeat for each of your saved sessions. Then when you open them, the colors will be what you have set them to be.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 4 '16 at 15:52









                Richard BurdenRichard Burden

                312




                312























                    0















                    • Open PuTTY

                    • Under Saved Sessions, click on a saved session

                    • Click Load

                    • Click on Window->Colours

                    • Under General options for colour usage, click the top two check boxes: Allow terminal...

                    • Go back to Session

                    • Click Save

                    • Click Open


                    Now when I log into my Raspberry Pi, the command line and directories are shown in color.






                    share|improve this answer




























                      0















                      • Open PuTTY

                      • Under Saved Sessions, click on a saved session

                      • Click Load

                      • Click on Window->Colours

                      • Under General options for colour usage, click the top two check boxes: Allow terminal...

                      • Go back to Session

                      • Click Save

                      • Click Open


                      Now when I log into my Raspberry Pi, the command line and directories are shown in color.






                      share|improve this answer


























                        0












                        0








                        0








                        • Open PuTTY

                        • Under Saved Sessions, click on a saved session

                        • Click Load

                        • Click on Window->Colours

                        • Under General options for colour usage, click the top two check boxes: Allow terminal...

                        • Go back to Session

                        • Click Save

                        • Click Open


                        Now when I log into my Raspberry Pi, the command line and directories are shown in color.






                        share|improve this answer














                        • Open PuTTY

                        • Under Saved Sessions, click on a saved session

                        • Click Load

                        • Click on Window->Colours

                        • Under General options for colour usage, click the top two check boxes: Allow terminal...

                        • Go back to Session

                        • Click Save

                        • Click Open


                        Now when I log into my Raspberry Pi, the command line and directories are shown in color.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Jan 8 '17 at 16:27









                        Mark SMark S

                        1




                        1























                            0














                            Alternately, if you don't want to set the colors in Putty itself, you can set them in your Linux shell (if you add commands to your .login they will run anytime you log in):



                            tput setab 5     <== sets background color
                            tput setaf 2 <== sets font color
                            clear <== clears the screen so the changes apply to entire window


                            Putty will respect these changes






                            share|improve this answer




























                              0














                              Alternately, if you don't want to set the colors in Putty itself, you can set them in your Linux shell (if you add commands to your .login they will run anytime you log in):



                              tput setab 5     <== sets background color
                              tput setaf 2 <== sets font color
                              clear <== clears the screen so the changes apply to entire window


                              Putty will respect these changes






                              share|improve this answer


























                                0












                                0








                                0







                                Alternately, if you don't want to set the colors in Putty itself, you can set them in your Linux shell (if you add commands to your .login they will run anytime you log in):



                                tput setab 5     <== sets background color
                                tput setaf 2 <== sets font color
                                clear <== clears the screen so the changes apply to entire window


                                Putty will respect these changes






                                share|improve this answer













                                Alternately, if you don't want to set the colors in Putty itself, you can set them in your Linux shell (if you add commands to your .login they will run anytime you log in):



                                tput setab 5     <== sets background color
                                tput setaf 2 <== sets font color
                                clear <== clears the screen so the changes apply to entire window


                                Putty will respect these changes







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Jan 22 '18 at 21:29









                                DVKDVK

                                4001621




                                4001621























                                    0














                                    To edit colors for existing sessions:
                                    PUTTY stores session data in the windows registry.



                                    I changed the default session colors (R, G, B) after I had many sessions created.




                                    • blue to 15, 154, 229

                                    • red 244, 67,54


                                    In your registry



                                    HKEY_LOCAL_USERSS-1-5-<biggest no.>SoftwareSimonTathamSessions


                                    open the Default%20Settings folder. The key Color14 contains the value for blue, the key Color8 contains the value for red.



                                    Simply double-click Color8 and copy the value and paste it to all other Sessions/folders in that "Sessions" folder, same with Color14.



                                    You also could export the entire "Sessions" folder to a .reg file, edit it with and import it again.






                                    share|improve this answer




























                                      0














                                      To edit colors for existing sessions:
                                      PUTTY stores session data in the windows registry.



                                      I changed the default session colors (R, G, B) after I had many sessions created.




                                      • blue to 15, 154, 229

                                      • red 244, 67,54


                                      In your registry



                                      HKEY_LOCAL_USERSS-1-5-<biggest no.>SoftwareSimonTathamSessions


                                      open the Default%20Settings folder. The key Color14 contains the value for blue, the key Color8 contains the value for red.



                                      Simply double-click Color8 and copy the value and paste it to all other Sessions/folders in that "Sessions" folder, same with Color14.



                                      You also could export the entire "Sessions" folder to a .reg file, edit it with and import it again.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        To edit colors for existing sessions:
                                        PUTTY stores session data in the windows registry.



                                        I changed the default session colors (R, G, B) after I had many sessions created.




                                        • blue to 15, 154, 229

                                        • red 244, 67,54


                                        In your registry



                                        HKEY_LOCAL_USERSS-1-5-<biggest no.>SoftwareSimonTathamSessions


                                        open the Default%20Settings folder. The key Color14 contains the value for blue, the key Color8 contains the value for red.



                                        Simply double-click Color8 and copy the value and paste it to all other Sessions/folders in that "Sessions" folder, same with Color14.



                                        You also could export the entire "Sessions" folder to a .reg file, edit it with and import it again.






                                        share|improve this answer













                                        To edit colors for existing sessions:
                                        PUTTY stores session data in the windows registry.



                                        I changed the default session colors (R, G, B) after I had many sessions created.




                                        • blue to 15, 154, 229

                                        • red 244, 67,54


                                        In your registry



                                        HKEY_LOCAL_USERSS-1-5-<biggest no.>SoftwareSimonTathamSessions


                                        open the Default%20Settings folder. The key Color14 contains the value for blue, the key Color8 contains the value for red.



                                        Simply double-click Color8 and copy the value and paste it to all other Sessions/folders in that "Sessions" folder, same with Color14.



                                        You also could export the entire "Sessions" folder to a .reg file, edit it with and import it again.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Apr 18 '18 at 11:52









                                        Michael D.Michael D.

                                        60649




                                        60649























                                            0














                                            For anyone looking for a way to go back to default PuTTY colours you need to remove the following registry key:



                                            ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSessionsDefault Settings





                                            share|improve this answer




























                                              0














                                              For anyone looking for a way to go back to default PuTTY colours you need to remove the following registry key:



                                              ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSessionsDefault Settings





                                              share|improve this answer


























                                                0












                                                0








                                                0







                                                For anyone looking for a way to go back to default PuTTY colours you need to remove the following registry key:



                                                ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSessionsDefault Settings





                                                share|improve this answer













                                                For anyone looking for a way to go back to default PuTTY colours you need to remove the following registry key:



                                                ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSessionsDefault Settings






                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered yesterday









                                                pbiespbies

                                                1,55911217




                                                1,55911217






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Super User!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f219231%2fhow-to-set-default-screen-colours-in-putty-ssh%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

                                                    Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

                                                    Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...