PuTTY keeps a scrollback history so earlier terminal output remains available after it scrolls off-screen. Increasing the scrollback buffer helps when long commands produce lots of output, when older lines need copying, or when intermittent errors must be reviewed without rerunning the command.
Lines of scrollback controls how much text PuTTY stores locally in memory for the current terminal window. This does not change remote logging on the server, and it does not increase what the remote host records in syslog, event logs, or audit trails.
The scrollback size is stored in the selected session profile, so different servers can have different values. Larger scrollback values consume more memory during long-running sessions, and options like Reset scrollback on keypress can erase history unexpectedly if enabled.
Default Settings affects sessions created later and does not overwrite existing saved profiles unless they are edited and saved.
Values like 5000 to 20000 work well for most troubleshooting sessions without excessive memory use.
Without a name, the change applies only to the current configuration view and is not saved as a reusable profile.
$ seq 1 5000 1 2 3 ##### snipped ##### 4998 4999 5000
Shift+Page Up scrolls the PuTTY window without sending the keypress to the remote host.