Enabling SSH on a Cisco SG300 Small Business managed switch requires about three clicks in the web configuration utility. No USB-to-console cable, no serial terminal setup. The trickier part is making the setting stick after a reboot, which a separate save step handles.
Step 1: Enable the SSH Service
- Log in to the switch’s web configuration utility by entering its IP address in a browser and signing in with your admin credentials.
- In the left-hand menu, expand Security and click TCP/UDP Services.
- Check the box next to SSH Service.
- Click Apply.
The SSH service is now active in the running configuration. Don’t reboot yet.
Step 2: Save the Config to Startup Configuration
Clicking Apply writes the change only to the running config. A reboot erases it unless you copy it to startup config first.
- Look for the flashing save icon in the top-right corner of the web GUI; the exact label and placement vary by firmware, but it’s always in the top navigation bar.
- Click it to open the save dialog.
- Set the source to Running Configuration and the destination to Startup Configuration.
- Click Apply or Save (the label varies by firmware version).
SSH now persists through power cycles. Skipping this step is why SSH seems to disappear after a reboot. It didn’t disappear; it was never saved.
Step 3: Check Your User Accounts
SSH logins use the same local accounts as the web GUI. Confirm at least one exists before you try to connect.
- In the left-hand menu, expand Administration and click User Accounts.
- Confirm at least one account is listed.
- Note each account’s User Level.
Read/Write Management Access gives full CLI and web GUI access. If you’d rather have a dedicated SSH account with limited access, a reasonable call on any shared network, add a new user and set the level to Read/Limited Write CLI Access. That role reaches the CLI only, and only a subset of commands at that.
Step 4: Verify SSH Authentication Settings
Most firmware versions enable password authentication by default. If login fails after SSH connects, check this before anything else.
- In the left-hand menu, expand Security, then SSH Server, and click SSH User Authentication.
- Confirm Password Authentication is enabled.
If your firmware doesn’t show an SSH Server sub-menu under Security, skip this step, as default password authentication handles basic logins without any additional configuration. Cisco also documents a public-key authentication path under the same section if you want to go keyless later.
Step 5: Connect via PuTTY or Windows SSH
With SSH enabled and the config saved, open your SSH client.
Using PuTTY for Windows:
- Open PuTTY and enter the switch’s IP address in the Host Name (or IP address) field.
- Confirm SSH is selected and the port is 22.
- Click Open.
- At the login as: prompt, press Enter or type a username if prompted directly.
- Enter your User Name and Password when prompted.
Using the Windows built-in SSH client:
Windows 10 and 11 both include OpenSSH. Open Command Prompt or PowerShell and run:
ssh username@<switch-ip-address>
Enter your password when prompted. A successful login drops you at the switch prompt.
Accounts with Read/Write Management Access land in privileged EXEC mode immediately. That’s handy for a personal home lab, but on a shared small business network switch, create a lower-access account and set an Enable mode password for privilege escalation.
When SSH Connects But Login Fails
If your SSH client reaches the switch but authentication rejects you, check these in order:
- No user account: return to Step 3 and add one with an appropriate access level.
- Password authentication off: confirm Security → SSH Server → SSH User Authentication has Password Authentication active.
- Settings reverted after reboot: if SSH Service is unchecked in Security → TCP/UDP Services, you didn’t save to startup config; re-enable it and complete Step 2.
- Menu labels differ from what’s shown: firmware revisions occasionally reorganize paths. If a label doesn’t match exactly, look within the Security section for anything SSH-related.
Conclusion
Steps 1 and 2 cover the full setup for the typical install: enable the SSH service, save to startup config, done. Login failures almost always trace back to missing user accounts (Step 3) or SSH authentication settings (Step 4). The SG300 is legacy hardware at this point, but it’s a genuinely capable managed switch for home labs and small offices, and getting SSH running is easier than most Cisco gear leads you to expect.