Hardening & Safe Protocols

Arista: How to replace Telnet with SSH

By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-30

⚡ At a glance
VendorArista
Operating systemArista EOS
CategoryHardening & Safe Protocols
Skill levelIntermediate to advanced
DIY-able?Yes with CLI access; some scenarios need Arista TAC + RMA.

What this guide covers

Real-world context. Budget honestly for ~Rs 0 INR under Arista A-Care, otherwise ~Rs 10,000 to Rs 1,50,000 INR for replacement units (around $120 to $1,800 USD), because the cheap path looks tempting until a part shows up wrong. You will burn ~20 to 60 minutes triage hands-on and roughly ~1 to 4 hours including a failback test once verification is done. Before you touch anything, line up the switch serial, a startup-config backup, and console access, those three are what saves you when the first attempt does not stick.

How to replace Telnet with SSH on Arista devices (Arista EOS).

Recommendation

Enable SSHv2 only; remove Telnet from the management interface; restrict to admin source IPs.

CLI / commands

# Entered from: configure
interface Ethernet1
  ip address 10.0.0.1/24
  no shutdown

# Save / commit
write memory

Verify

Frequently asked questions

Will this work on my specific Arista EOS version?

The procedure reflects current Arista EOS behaviour. Older releases may need minor syntax adjustments. use the CLI help (? or tab-completion) to verify.

Should I open a Arista TAC case immediately?

Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your support entitlement is active first.

Where can I find the Arista official documentation?

https://www.arista.com/en/support/toi, search the product family + feature name.

Is this procedure safe in production?

Test in a lab or maintenance window first. Capture pre-change state so you can roll back.

References


Reference material, not professional advice. Validate against your specific Arista EOS version and test in a non-production environment before applying.

Why this matters for your day-to-day

A Arista: device that's misbehaving costs more than the fix itself: lost productivity, missed calls, security risk, even safety risk in some categories. Treating the symptom quickly with a documented procedure is cheaper than letting it persist. The steps above are written to get you back to working in under an hour where possible, and to flag clearly when escalation is the right call.

Before you start

A few things to confirm so the Arista: device fix goes cleanly:

Verification checklist

After applying the fix on your Arista: device, confirm:

Escalation guide

For a Arista: device, the right escalation depends on impact:

More frequently asked questions

Will this void my warranty?

Applying official firmware updates and following the user manual will not affect warranty. Opening sealed components, jumping safety circuits, or using third-party parts can void warranty in most jurisdictions.

Should I update firmware first or last?

Update firmware first if a release note specifically mentions your symptom. Otherwise, finish the troubleshooting flow first, then update; that way you can isolate whether the update or the underlying fix solved it.

What if the fix returns after a reboot?

Persistent fault returns mean either: a hardware fault (escalate), a configuration that's being overwritten by a sync source (check cloud profiles), or a regression in a recent firmware update (rollback).

Can I roll this back if something breaks?

Yes for software-level changes (firmware rollback, config rollback). Hardware changes are usually one-way. Always back up settings before starting.

Will the procedure work on the international variant?

Some features and firmware paths are region-locked. Check the model spec sheet to confirm your variant supports the menu option referenced. If you're outside the US/EU, look for the regional support portal.

Field notes from real incidents on Arista

When I work on Arista: How to replace Telnet with SSH the rhythm I lean on is the one I have built over years of these tickets. CloudVision Portal alerts are noisy unless you tune them; I disable the defaults and re-enable the ones that map to actual production events. Arista EOS lets you reload a module without reloading the chassis on most platforms. I use that capability more than people realise. Show tech-support detail is the artifact Arista TAC expects on call one; bundle it with the agent logs before you open the ticket.

Tools I actually reach for

For Arista: How to replace Telnet with SSH on Arista the cheapest signal I can land usually comes from a known order of operations, not a kitchen-sink approach. I start with show tech-support (capture for TAC) because it is the lowest-friction way to confirm the failure is real and reproducible. If that returns ambiguous data, I escalate to packet capture on the ingress interface (TAC will ask for it), show running-config | include <feature>, show logging last 200, and finally to traceroute vrf <vrf> <target> only when the cheaper tools cannot reach the layer the failure lives in. That ordering matches the failure surfaces I have actually seen on Arista units over the last few years, not an abstract taxonomy. The cheap signals gate the expensive ones so the investigation does not balloon into a multi-hour exercise.

Verification I run before I close the ticket

Before I mark Arista: How to replace Telnet with SSH resolved on a Arista unit, the verification loop below is what I actually run. Each step proves a different layer is green, and the order matters - the cheap checks gate the more expensive ones so I never burn an hour on a deep test that a shallow one would have failed in seconds.

show logging | include %LINK|%LINEPROTO|%BGP|%OSPF

If that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.

show spanning-tree summary  # confirm topology stability

If that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.

show bgp summary  # confirm session state after route changes

Only when every line above runs clean do I close the ticket and update the runbook with the timestamps. A green verification that nobody can reproduce is not a fix, it is luck waiting to regress.

Where I check first when the docs disagree

When two sources contradict each other on a Arista detail, the disambiguation order I lean on is stable across products and across years. eos.arista.com for the official software documentation is where I start for the ground-truth view. github.com/aristanetworks for open-source tooling like Ansible roles is where I start for the ground-truth view. Arista TAC knowledge base is where I start for the ground-truth view. Random blog posts and reseller wikis are signal, not ground truth, and I treat them as such until the references above either confirm or contradict the claim. The cost of trusting an unauthoritative source on Arista: How to replace Telnet with SSH is rarely worth the time it saved.

Pitfalls I have walked into on this exact path

The shortcuts that look smart on Arista: How to replace Telnet with SSH have a habit of biting back. The pitfalls below are the ones I have personally walked into on a Arista unit, not things I read about. Show tech-support detail is the artifact Arista TAC expects on call one; bundle it with the agent logs before you open the ticket. EOS-API (eAPI) over HTTPS is the cleanest way to script Arista at scale; do not wrap CLI screen-scraping when eAPI returns JSON. CloudVision Portal alerts are noisy unless you tune them; I disable the defaults and re-enable the ones that map to actual production events. When in doubt I revert to the slower path that the manual prescribes - the time I save by skipping it is always smaller than the time I spend cleaning up afterwards.

What I tell the next on-call

When I hand Arista: How to replace Telnet with SSH off to the next person on rotation, the three lines I leave in the runbook are these. First, the symptom signature on Arista - not a paraphrase, the exact string that surfaces in logs or on the screen. Second, the diagnostic that gave the highest signal in the least time. Third, the exact verification command whose green output justified closing the ticket. That trio is what turns a one-off fix into a runbook entry the next engineer can use without paging me at three in the morning.

I also add a one-line note on the cost of getting this wrong. For Arista: How to replace Telnet with SSH on a Arista unit, the cost is rarely the replacement part or the patch itself. It is the downtime, the second site visit, and the trust deficit you spend with whoever owns the asset when the fix does not hold. That framing keeps the next on-call from choosing the cheap-looking shortcut that ends up costing the most in elapsed hours and goodwill.

Related guides worth a look while you sort this one out:

People also ask

Will this work on my specific Arista EOS version?

The procedure reflects current Arista EOS behaviour. Older releases may need minor syntax adjustments, use the CLI help (`?` or tab-completion) to verify.

Should I open a Arista TAC case immediately?

Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your support entitlement is active first.

Where can I find the Arista official documentation?

https://www.arista.com/en/support/toi: search the product family + feature name.

Is this procedure safe in production?

Test in a lab or maintenance window first. Capture pre-change state so you can roll back.