How to Connect to Switches (SSH)

Created by Juan Perdomo, Modified on Thu, 07 Sep 2023 at 10:43 AM by Juan Perdomo

  • You need to add diffie-hellman-group14-sha1 to your ssh config to connect to the switches for each switch you will be connecting to. 
  • To edit the ssh config go to C:\Users\[your user here]\.ssh\ then open the config file with a notepad software (it does not have a file extension so double clicking will not know what to open it with) 
  • In our case your ssh config file should have these lines in it:


Host 10.10.50.101 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.101 
Host 10.10.50.102 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.102 
Host 10.10.50.111 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.111 
Host 10.10.50.112 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.112 
Host 10.10.50.113 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.113 
Host 10.10.50.114 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.114 
Host 10.10.50.115 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.115 
Host 10.10.50.116 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.116 
Host 10.10.50.117 KexAlgorithms +diffie-hellman-group14-sha1 User manager Hostname 10.10.50.117
Generic
Generic


SSH to any of the switches on our network as the manager user using the password in LastPass: 

  • Access01-Access07 - 10.10.50.111-10.10.50.117
  • Core01-Core02 - 10.10.50.101-10.10.50.102

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article