<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SSH config for Ansible use in ICX Switches</title>
    <link>https://community.ruckuswireless.com/t5/ICX-Switches/SSH-config-for-Ansible-use/m-p/97872#M6937</link>
    <description>&lt;P&gt;I am in the process of building an Ansible server for the first time.&amp;nbsp; I've typically used Putty to connect to my ICX switches running 08.0.95g.&amp;nbsp; SSH just kinda worked with Putty without any configuration.&amp;nbsp; Now I'm using OpenSSH client on an Ubuntu 22.04.&amp;nbsp; I read that there is no longer support for dsa authentication with the new OpenSSH client in Ubuntu, so I setup rsa on the switch.&amp;nbsp; Here's what I've done so far:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Enabling ssh on switch - "crypto key generate rsa"&lt;/LI&gt;&lt;LI&gt;Create keys on Ansible Host - "ssh-keygen -t ed25519 -C "Ansible""&lt;/LI&gt;&lt;LI&gt;Add required header and footer to id_ed25519.pub file (Required by switch due to newer version of OpenSSH on Ansible host - ssh-keygen doesn't put them there anymore)&lt;/LI&gt;&lt;LI&gt;Transfer the public key on the Ansible host to tftp server&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Transfer the Ansible host public key to switch from tftp server - "ip ssh pub-key-file tftp x.x.x.x id_ed25519.pub"&lt;/LI&gt;&lt;LI&gt;run "show ip client-pub-key" on the switch to verify the Ansible host pub key is setup&lt;/LI&gt;&lt;LI&gt;From Ansible host, ssh to switch, accept the key transfer, and verify login is accepted&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;At this point I'm prompted for a password instead of just being given a command prompt.&amp;nbsp; I'm not sure what I'm doing wrong, but I've never configured this before so most likely I'm the problem.&amp;nbsp; Here is my switch's ssh config:&lt;/P&gt;&lt;P&gt;#sh ip ssh config&lt;BR /&gt;SSH server : Enabled&lt;BR /&gt;SSH port : tcp\22&lt;BR /&gt;Host Key : DSA 1024, RSA 1024&lt;BR /&gt;Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes192-ctr, aes128-ctr, 3des-cbc&lt;BR /&gt;Permit empty password : No&lt;BR /&gt;Authentication methods : Password, Public-key, Interactive&lt;BR /&gt;Authentication retries : 3&lt;BR /&gt;Login timeout (seconds) : 120&lt;BR /&gt;Idle timeout (minutes) : 5&lt;BR /&gt;SCP : Enabled&lt;BR /&gt;SSH IPv4 clients : All&lt;BR /&gt;SSH IPv6 clients : All&lt;BR /&gt;SSH IPv4 access-group :&lt;BR /&gt;SSH IPv6 access-group :&lt;BR /&gt;SSH Client Keys :&lt;BR /&gt;Client Rekey : 0 Minute, 0 KB&lt;BR /&gt;Server Rekey : 0 Minute, 0 KB&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 15:43:28 GMT</pubDate>
    <dc:creator>ericbord</dc:creator>
    <dc:date>2024-09-26T15:43:28Z</dc:date>
    <item>
      <title>SSH config for Ansible use</title>
      <link>https://community.ruckuswireless.com/t5/ICX-Switches/SSH-config-for-Ansible-use/m-p/97872#M6937</link>
      <description>&lt;P&gt;I am in the process of building an Ansible server for the first time.&amp;nbsp; I've typically used Putty to connect to my ICX switches running 08.0.95g.&amp;nbsp; SSH just kinda worked with Putty without any configuration.&amp;nbsp; Now I'm using OpenSSH client on an Ubuntu 22.04.&amp;nbsp; I read that there is no longer support for dsa authentication with the new OpenSSH client in Ubuntu, so I setup rsa on the switch.&amp;nbsp; Here's what I've done so far:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Enabling ssh on switch - "crypto key generate rsa"&lt;/LI&gt;&lt;LI&gt;Create keys on Ansible Host - "ssh-keygen -t ed25519 -C "Ansible""&lt;/LI&gt;&lt;LI&gt;Add required header and footer to id_ed25519.pub file (Required by switch due to newer version of OpenSSH on Ansible host - ssh-keygen doesn't put them there anymore)&lt;/LI&gt;&lt;LI&gt;Transfer the public key on the Ansible host to tftp server&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Transfer the Ansible host public key to switch from tftp server - "ip ssh pub-key-file tftp x.x.x.x id_ed25519.pub"&lt;/LI&gt;&lt;LI&gt;run "show ip client-pub-key" on the switch to verify the Ansible host pub key is setup&lt;/LI&gt;&lt;LI&gt;From Ansible host, ssh to switch, accept the key transfer, and verify login is accepted&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;At this point I'm prompted for a password instead of just being given a command prompt.&amp;nbsp; I'm not sure what I'm doing wrong, but I've never configured this before so most likely I'm the problem.&amp;nbsp; Here is my switch's ssh config:&lt;/P&gt;&lt;P&gt;#sh ip ssh config&lt;BR /&gt;SSH server : Enabled&lt;BR /&gt;SSH port : tcp\22&lt;BR /&gt;Host Key : DSA 1024, RSA 1024&lt;BR /&gt;Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes192-ctr, aes128-ctr, 3des-cbc&lt;BR /&gt;Permit empty password : No&lt;BR /&gt;Authentication methods : Password, Public-key, Interactive&lt;BR /&gt;Authentication retries : 3&lt;BR /&gt;Login timeout (seconds) : 120&lt;BR /&gt;Idle timeout (minutes) : 5&lt;BR /&gt;SCP : Enabled&lt;BR /&gt;SSH IPv4 clients : All&lt;BR /&gt;SSH IPv6 clients : All&lt;BR /&gt;SSH IPv4 access-group :&lt;BR /&gt;SSH IPv6 access-group :&lt;BR /&gt;SSH Client Keys :&lt;BR /&gt;Client Rekey : 0 Minute, 0 KB&lt;BR /&gt;Server Rekey : 0 Minute, 0 KB&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:43:28 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/ICX-Switches/SSH-config-for-Ansible-use/m-p/97872#M6937</guid>
      <dc:creator>ericbord</dc:creator>
      <dc:date>2024-09-26T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSH config for Ansible use</title>
      <link>https://community.ruckuswireless.com/t5/ICX-Switches/SSH-config-for-Ansible-use/m-p/98068#M6950</link>
      <description>&lt;P&gt;Hello Eric&lt;BR /&gt;&lt;BR /&gt;The SSH configuration looks correct on our side. However, since you need to make changes to a third-party device, we can't provide more information about their configuration.&lt;/P&gt;
&lt;P&gt;Please contact the vendor for assistance with their setup. If you need help with anything Ruckus-related, let us know.&lt;/P&gt;
&lt;DIV&gt;Kind regards,&lt;/DIV&gt;
&lt;DIV&gt;Sofia Gätjens&lt;/DIV&gt;
&lt;DIV&gt;Technical Support Engineer | L2 TAC Wired&lt;/DIV&gt;
&lt;DIV&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;U&gt;COMMSCOPE&lt;/U&gt;&lt;/DIV&gt;
&lt;DIV&gt;now meets next&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:54:11 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/ICX-Switches/SSH-config-for-Ansible-use/m-p/98068#M6950</guid>
      <dc:creator>Sgatjens</dc:creator>
      <dc:date>2024-10-01T17:54:11Z</dc:date>
    </item>
  </channel>
</rss>

