4/23/2024 0 Comments Putty settings for ssh sessionOnce your SSH session is established, then you can connect to localhost port 13306 and it will be tunneled to the remote server on 3306. Keep in mind that your Windows OS you are on must have the source port free, so if you are ALSO running MySQL locally, then pick a different local port number like 13306. If you want to connect to a MySQL or PostgreSQL service running on the host you are connecting to, but have all communication encrypted and sent via SSH tunnel, here is how to set that up. There are some security issues with this setting when connecting to an untrusted server, so please understand them first. If you use SSH Agent forwarding (eg pagent) to allow you to “hop” from one server to another, then PuTTY must be told to enable Agent Forwarding. It is helpful to send a null packet every once in a while to keep sessions alive.Ĭonfigure “Connection > SSH” settings (Update)ĭavid Aldrich pointed out in a helpful comment that “I also think it is probably worth enabling SSH compression if working over a slow connection.”Ĭonfigure “Connection > SSH > Auth” settings Simply select “ANSI Blue” and change the RGB values to 112, 112, 255. If you can read dark-blue-on-black, then your vision is in another “spectrum” than mine. Also, you can simply us SHIFT+INSERT to paste in PuTTY. The first option of “Windows” will bring up a right-click menu with a convenient “Paste” option. Under the “Compromise” setting above, right-click will paste whatever is on the clipboard… even if you were just blogging about sudo rm -rf / You need to decide here if you want an important safety precaution. So in my experience, it is best to use UTF-8 when connecting to Linux. This means that if your terminal is set to latin1 or similar, then each single multi-byte-character is literally interpreted as multiple latin1 characters, mostly drawn as out-of-place accented letters and various symbols. Just give it a try :)Ĭonfigure the “Window > Translation” settingsĪs of a few years ago, Linux began to use UTF-8 character encoding by default. However, even on smaller screens, I still find it nicer to be able to read effortlessly and see less than the other way around. Keep in mind I’m usually using a 27″ or 30″ display at 2560 pixels wide, so I can afford the extra size of 14pt. I find that the Luicida Console 14 point font is very easy on the eyes. Also, the window size should be set according to your screen size and preferences. The default of 200 lines of scrollback is just not enough. This is one of the most important settings. I have found it preferable not to disable the bell if it is overused. I prefer to place my server name before my username in the saved sessions because the sort order will be maintained as the list grows. Launch PuTTY and configure “Session” is handy for auto-login. However, whatever you do, make sure you get the whole suite (unless you know you don’t need it) The purpose of this post is to share that with you. But over time, I learned what worked best for me. However, despite all the cool things one can do with PuTTY, the default out-of-the-box-settings leave a good bit to learn.įor a long time, I put up with some less than optimal settings. I’ve used it to connect to telnet, ssh, linux, unix, windows, hypervisors, and even IBM iSeries (AS-400). I think it tops the cake for most-useful-utility-on-windows that I have ever encountered.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |