Sanemfabri - Blog | Bandzone.cz
Při poskytování našich služeb nám pomáhají soubory cookie. Využíváním našich služeb s jejich používáním souhlasíte. V pořádku Další informace

Sanemfabri Žena, 27 let

Playlist je prázdný :(

Fanoušek Sanemfabri si do osobního playlistu zatím nepřidal žádné skladby.

Oblíbené kapely: 0

Žádné oblíbené kapely

Přátelé: 0

Žádní přátelé

Statistika profilu

Návštěv dnes
3
Návštěv celkem
821
Profil registrován
8.9.2022

Blog

10 Awesome PuTTY Tips and Tricks You Probably Didn’t Know

Upraveno:

Hello, readers! Welcome back to our website, where you can find all the information you need about the Putty software. Today we will look at the topic 10 Awesome PuTTY Tips and Tricks You Probably Didn't Know
Everyone wants to customize the software that uses to our specific needs.

Did you know that this is also possible in PuTTy? Learn how to use PuTTy for proxy configuration, PuTTY for window formatting, text formatting, logging, and much more.

PuTTYSoftware is without a doubt the best SSH client for Windows. It's small and simple, with only one putty.exe file to install.

PuTTy, like most SSH clients, is a simple software that plays an important role in the web hosting industry and remote server management in general. Customization options are an important part of any software, allowing users to tailor the application to their preferences and usage requirements, and PuTTy is no exception. you can get Putty installer for installing putty on your pc.

In this article, we will define what is putty and its 10 different PuTTy tips and tricks to help you have a better user experience.

What is PuTTy?

PuTTY is a free SSH implementation for Microsoft Windows PCs that also includes an xterm terminal emulator. You will find PuTTY useful if you want to access an account on a Unix or other multi-user system from a PC. However, PuTTy is much more than just an SSH client. It is consistent with the following protocols:

  • SSH: As previously stated, PuTTY supports SSH, an encrypted and secure remote login protocol that uses port 22 by default.
  • Telnet: A remote login protocol similar to OpenSSH, but it is unencrypted and thus no longer widely used and considered unsafe.
  • To connect to a serial line, use the serial option. The most common application is to create a serial connection between computers instead of an Ethernet or other network connection.
  • This protocol is mostly used for network debugging.
  • Rlogin is an unencrypted UNIX remote login protocol that, like telnet, uses port 513 by default.

PuTTY Tips & Tricks

1) Delete All PuTTY Sessions Together

When you swap out an old computer for a new one, you may end up transferring all PuTTY sessions to the new one. After you've transferred all PuTTY sessions, use the command line to run "putty -cleanup," as shown below.

C:>putty -cleanup

This will result in the warning message shown below. To delete all PuTTY sessions and random seed files from the Windows registry, select 'Yes.' Delete all saved PuTTY sessions from the Windows registry rather than deleting them one by one from the PuTTY session list.

2) Change Font Size Automatically when Resizing PuTTY Window

When you resize a PuTTY window, the font size does not change by default. It would be nice if the font size decreased when the PuTTY window size was reduced (or increased when the PuTTY window size was increased).

For example, when running the Unix top command and attempting to resize the window, the output in PuTTY will be cut off, as shown below.

Launch PuTTY -> Select a Session -> Click on Load button. Click on Window from the left side tree menu -> select "Change the font size" under the "When the window size is resized" section as shown below -> To begin the session, click the 'Open' button at the bottom of this window.

Start the PuTTY SSH session again after making the above changes. Try resizing the window with the Unix top command. When you reduce the window size, the font size shrinks and the top command output automatically adjusts to fit in the small size screen, as shown below.

3) Change the PuTTY SSH Session Window Title

After you login, the PuTTY software displays "username@hostname:~" in the PuTTY window title by default. This can be changed to any user-friendly text.

Launch PuTTY -> Select a Session -> Press the Load button. Select Window -> Behavior from the left-hand tree menu. Enter the desired window title in the 'Window Title' text box on the right panel, as shown below. Make sure to save the session after making this change.

Load this saved PuTTY SSH session and login to the server again to see the newly updated window title, as shown below.

4) View PuTTY Event log

When you're in a PuTTY SSH session, right-click on the PuTTY window title to bring up the PuTTY menu. Select the 'Event Log' menu item to open the PuTTY event log window shown below.

This will be extremely useful in debugging any PuTTY SSH session issues.

5) Paste to Clipboard in Rich Text Editor (RTF) Format

When you copy/paste from the PuTTY window to a word document, it usually only pastes in plain text, as explained below.

  • Log in to a PuTTY Telnet or SSH session without managing the 'Paste to clipboard in RTF' option, as described below.
  • Run the command 'man ssh' from the command line.
  • Take the first few lines of the man output and copy them.
  • Open Microsoft Word and copy the output. You will only see text output with no formatting.

As shown below, enable the RTF copy/paste feature in PuTTY software.

Launch PuTTY -> Select a Session -> Click on Load. Select Window -> Selection from the left side tree menu. Select the checkbox next to "Paste to clipboard in RTF as well as plain text" on the right panel, as shown in the image below.

  • After enabling the 'Paste to clipboard in RTF' option as described above, connect to a PuTTY telnet or SSH session.
  • Run the command 'man ssh' from the command line.
  • Take the first few lines of the man output and copy them.
  • Open Microsoft Word and copy the output. As shown below, only the text output is copied with all of the formats.

6) Make PuTTY SSH Session Always Stay On Top

When running a monitoring session (for example, the unix top command), you may want the PuTTY client window to always be on top.

Launch PuTTY -> Select a Session -> Click on Load. Select Window -> Behavior from the left-hand tree menu. Click the checkbox next to "Ensure window is always on top" on the right panel, as shown below.

Log in to the PuTTY FTP , SSH, or telnet session after making this change. This session will always be on top, regardless of what other applications you have open in windows.

7) Launch PuTTY Client In Full-Screen Mode

The two methods for launching the PuTTY client in full-screen mode are as follows.
Method 1: While the PuTTY client session is active, right-click on the window title and choose 'Full Screen' (or)


Method 2: Open PuTTY, select a session, and then click Load. Select Window -> Behavior from the left-hand tree menu. Click the checkbox next to "Full Screen on Alt-Enter" on the right panel, as shown below.

After making this change, when the PuTTY terminal session is open, press Alt + Enter to launch it in full-screen mode.

8) Launch PuTTY Window Maximized by Default

When you launch a PuTTY terminal session, it runs in the standard window size by default. It is sometimes preferable to start in maximized mode. Take the steps outlined below.

  • Make a new PuTTY shortcut in Windows.
  • Select properties by right-clicking on this window shortcut.
  • As shown below, select 'Maximized' from the Run drop-down list.
  • Now, whenever you use this PuTTY shortcut to launch a session, it will always be displayed in maximized mode.

9) PuTTY Trick Move Putty sessions to another computer

PuTTY saves all session data to the Windows registry. Export the PuTTY session registry information from the source machine as shown below.

C:> regedit /e "%userprofile%\desktop\putty-registry.reg" HKEY_CURRENT_USER\Software\Simontatham

Copy the PuTTY registry.reg file from the source to the destination machine.
Import the PuTTY SSH session registry on the destination machine by right-clicking on the putty registry. reg and selecting 'Merge.' This will copy all PuTTY session data from one Windows system to another.

10) Launch Most Frequently Used PuTTY Session Quickly

Follow the steps below to quickly launch your most frequently used PuTTY session.

  • Make a new PuTTY for Windows shortcut.
  • Change the name of this shortcut to something you like. For instance, dev-db.
  • Right-click on this shortcut and choose Properties.
  • As shown below, append "-load putty-session-name" to the end of the Target field.
  • When you click on the dev-db windows shortcut, the dev-db PuTTY session will now be launched automatically.

Conclusion

While PuTTy is software with a fairly well-defined function, there is always joy in being able to personalize the programs you use in order to better tailor them to your needs. We've provided ten different tips and tricks for making connecting to remote servers via PuTTy a more enjoyable experience. While the majority of them are minor cosmetic changes, when you're using the software for several hours a day, every detail counts.

Thank you!