r/Network • • Oct 22 '26

Text Putty website

Hey everyone,
I’m fairly new to networking and trying to understand PuTTY. I’ve seen technicians use it to connect to switches through a console cable, but I’m not sure how the whole process works.
What exactly happens when we connect a laptop to a switch using PuTTY? How do we access the switch, what information can we see, and what commands are commonly used?
I’m especially interested in learning how this works with Aruba switches.
I’d appreciate any explanations or resources for someone just getting started. Thanks!

0 Upvotes

21 comments sorted by

9

u/ritchie70 Oct 22 '26

Putty is really just attaching a keyboard and monitor to another computer - in the case the other computer is a switch, and the “monitor” is the putty window.

What commands you can type depends on the thing it’s connected to, not on putty. They’re radically different for different manufacturers.

9

u/lobhater Oct 22 '26

If only there was some kind of tool that allowed you to look up reference material on a network of computers containing the largest amount of data ever available to human kind.

Well until that exists maybe this link would get you started https://arubanetworking.hpe.com/techdocs/central/2.5.8/content/aos10x/aos10x-overview/accessing-cli.htm

3

u/DumpoTheClown Oct 22 '26

Yeah, that would be nice, but unless its small enought to fit in my pocket, not interested.

1

u/Pure_Fox9415 Oct 22 '26

Maybe you also imagine computer itself summarize this data and explaining it to you in natural language? You reading sci-fi too much!

0

u/call_me_nyk Oct 22 '26

🤣🤣🤣 This is only possible in fictional stories. And What's next? Cars that jump, machines that talk like humans or chips in brain ?

4

u/aaronw22 Oct 22 '26

I really don’t understand the question. It’s a program that lets you make a console connection to a piece of network equipment. You can run commands that are used to find out what you need to find out.

2

u/Odd-Concept-6505 Oct 23 '26

WinSCP for MS Windows ssh protocol client is great and free but NOT a remote terminal. Let it remember (it saves) your remote host IP or name...and your username...and just type your password every launch for a ssh remote session for copying files (like my tax files when I'm done with the only thing I need or want do on my Windows10 laptop).

0

u/Fabulous-Beach9027 Oct 22 '26

LOL ARE YOU FOR REAL?

0

u/SympathyExtension146 Oct 22 '26

Yes if you tell me I will learn

1

u/ThinkMarket7640 Oct 25 '26

There is an infinite amount of resources about this on the internet, why do you need someone to regurgitate it for you here?

1

u/hspindel Oct 22 '26

Putty is just a pretty front-end GUI that allows you instantiate a console window to talk to another computer. Under the hood, Putty supports telnet, ssh, and serial protocols.

1

u/LeeRyman Oct 22 '26

PuTTY is chiefly a terminal emulator. TTY is an old abbreviation for Teletypewriter, the original form of terminal. It supports various ways to connect, including the network protocols Telnet, RLogin, SSH and raw TCP connections. It can also open and utilise a computer's serial ports (ala com ports, typically RS232 ports for network device consoles) and send and receive characters. The managed network device will implement some form of command line interface on its console port.

When PuTTY receives printable characters from the device it prints them to its window. When it receives various control characters it represents their intent on screen, such as moving the cursor to the top of the window, line and form-feeding, or displaying text in different colours and bold. When you type a character generally the managed devices will echo that character back to the terminal emulator so you know what you have typed. It might send other sequences of characters to form login prompts, menus, command prompts and command output.

You may see specifications next to console ports such as "115200 8N1". This tells us that the terminal emulator needs to configure the serial port to operate at 115200 baud (number of symbols per second), 8 data bits per word, No parity and 1 stop bit per word, in order to successfully send and receive data to/from the console port.

1

u/DumpoTheClown Oct 22 '26

Putty, and many other applications like it, is jut an application that gives you the ability to connect to a command shell on another computer, including switches. I use putty to connect to secure shell servers on linux over the network. It can also connect to telnet servers on the network. What you saw was a connection directly to the switch hardware. You can do this same stuff with a bash or powershell console.

Putty is just the connection tool. It helps you by letting you set up all the connection parameters for multiple connections and save them so you can quickly connect later without all the setup having to be done every time. When you connect, you get a command shell on the other device. What commands you enter after connecting depend entirely on what youre connecting to.

1

u/Mehere_64 Oct 22 '26

One of the first resources I will use to get an understanding is Google.

1

u/Inside-Finish-2128 Oct 22 '26

A long time ago in a galaxy far, far away, we had terminals: keyboard, orange on black screen, and it "spoke" serial 9600 baud with 8 bits, no parity bit, and 1 stop bit encoding. It had no real CPU aside from the absolute bare bones to show characters on the screen.

When you bought a factory-new network device, it'd arrive with a default config...effectively blank aside from certain defaults chosen by the manufacturer. It'd have a console port...usually set up for 9600 baud and 8N1 encoding. You'd hook a serial cable (DB9 male to DB9 female) from your terminal to the device and do the preliminary config on it. Life was good.

Then we got computers and laptops. For the sake of the mouse, they'd put a DB9 port on the back/side, and often two of them. These were the "serial ports". If you wanted to configure a new network device, you'd use that same serial cable, but now that computer needed a "terminal emulator". That's where PuTTY came in (and who knows how many other similar older programs too): you'd tell putty which serial port to use, and it would give you a window that emulated that terminal.

Then Cisco decided they wanted a smaller, more reliable console port, so they switched to RJ45. Everyone else switched too after a bit. Cisco would include a light blue DB9 to RJ45 cable wired "correctly" for this purpose.

Then came USB, and slowly but surely the DB9 ports disappeared. Now we have USB to DB9 dongles. Still, the concept is the same. Slowly we're starting to see USB console ports, and all of that serial communications is slowly going to disappear.

In the meantime, for situations where we didn't want to stick a terminal on a cart and roll that cart around a server room (or later a data center), Cisco made it feasible to use their old 2511 router (which had a ton of serial ports) as a "terminal server", and you could telnet to specific non-standard TCP ports on it and it would magically send you out those serial ports as if it was a terminal. Now you didn't need physical humans in the server room/data center (until the 2511 got hung/locked up...). They kept that format alive for a while, and now we have similar yet better boxes from OpenGear with any number of RJ45 jacks in console format so you can hook an RJ45 cable from the port on the OpenGear to the console port of the network device(s) you want to remotely access, and do the same thing.

Thankfully putty does telnet, SSH, and the classic serial connection.

1

u/ruidh Oct 26 '26

Before orange on black terminals, we had actual teletypewriters -- basically a printer with a keyboard. The IBM version had a selectric ball so you could change the font to the APL character set.

1

u/msabeln Oct 22 '26

It is a computer communications app that uses protocols that date back many decades, before video, before graphics, and even the use of color.

Imagine an old typewriter, with a large scroll of paper inside of it. You can type a line of text—no graphics and just the common symbols of the alphabet, numbers, and punctuation—and each line of text is followed by a “carriage return”, which returns the carriage holding the print head back to the start of the line and the paper is lifted by one line: there is no going back. The print head can’t overwrite text on previous lines. You print text on the line and then you start printing on the next line below.

The “TTY” in “PuTTY” refers to the Teletype, a brand name of teleprinters, owned by AT&T, and one model of Teletypes was manufactured for over three decades, and it was ubiquitous as an interactive terminal in early computing. For decades, a computer programmer often would have been sitting in front of a Teletype.

Teletypes communicated with computers via a serial cable, such as the RS232 standard. PuTTY can use RS232 even today: computers routinely had RS232 ports as recently as the early 2010s: networking gear often has RS232 even today, as it is a robust, low level protocol which can work even when every other networking protocol fails.

I had to use RS232 just last week to reconfigure a managed Ethernet switch.

PuTTY also can emulate teletypes over the Internet Protocol.

0

u/CuppieWanKenobi Oct 22 '26

Putty is just an SSH client. Read up on that, and your intended usage.

8

u/aaronw22 Oct 22 '26

Well yes and no. It can do ssh but it can also be used to drive/use a console cable.