<?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 RE: How to setup passwordless SSH into X450a-48t switch in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41631#M9637</link>
    <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I've created the public key with the following command:&lt;BR /&gt;
&lt;BR /&gt;
 create sshd2 key-file host-key sshkey&lt;BR /&gt;
&lt;BR /&gt;
It created under the root directory the sshkey.ssh and inside it has the public key&lt;BR /&gt;
&lt;BR /&gt;
I've scp the key file to the remote server ~.ssh/authorized_keys&lt;BR /&gt;
&lt;BR /&gt;
However I still get the password prompt when I try to ssh from the switch to the remote server. &lt;BR /&gt;
&lt;BR /&gt;
I want to have this functionality in order to be able to automate some tasks within a universal profile. &lt;BR /&gt;
&lt;BR /&gt;
What exact commands I need to execute in order to store the public key in the Switch ? &lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Sotiris&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Feb 2015 23:37:00 GMT</pubDate>
    <dc:creator>Sotiris_Salloum</dc:creator>
    <dc:date>2015-02-04T23:37:00Z</dc:date>
    <item>
      <title>How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41622#M9628</link>
      <description>Create Date: Jun  3 2013  8:19AM&lt;BR /&gt;
&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to setup automated backup of the switch and I'd like to have the script to login to the switch without using password.&lt;BR /&gt;
How do I setup the SSH keys so I can ssh/sftp from a linux box into the extreme switch without password?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
  (from juha_a)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41622#M9628</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41623#M9629</link>
      <description>Create Date: Jun  3 2013  6:51PM&lt;BR /&gt;
&lt;BR /&gt;
Hi juha_a, &lt;BR /&gt;
&lt;BR /&gt;
maybe you can use "Automated Backup Script" ? &lt;BR /&gt;
You find it in Workbench-&amp;gt;Scripts &lt;BR /&gt;
&lt;BR /&gt;
Jarek  (from Jaroslaw_Kasjaniuk)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41623#M9629</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41624#M9630</link>
      <description>Create Date: Jun 11 2013  1:27PM&lt;BR /&gt;
&lt;BR /&gt;
Answering the question:&lt;BR /&gt;
&lt;B&gt;create sshd2 user-key adminkey (paste your pub key here) &lt;/B&gt;&lt;B&gt; subject "anything" &lt;/B&gt;&lt;ANYTEXT&gt;&lt;B&gt;comment "anything"&lt;BR /&gt;
&lt;/B&gt;&lt;ANYTEXT&gt;&lt;B&gt;configure sshd2 user-key adminkey add user admin&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
if you don't want to use the default admin account, you might create another account for backup: &lt;BR /&gt;
&lt;B&gt;create account admin backup s3cr3tp4ssw0rd&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
then it would be &lt;BR /&gt;
&lt;B&gt;create sshd2 user-key backupkey (paste your pub key here) subject "anything" &lt;ANYTEXT&gt;comment "anything" &lt;BR /&gt;
&lt;ANYTEXT&gt;configure sshd2 user-key backupkey add user backup&lt;/ANYTEXT&gt;&lt;/ANYTEXT&gt;&lt;/B&gt;&lt;/ANYTEXT&gt;&lt;/ANYTEXT&gt;  (from Luis_Coelho)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41624#M9630</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41625#M9631</link>
      <description>Create Date: Jun 20 2013  6:01PM&lt;BR /&gt;
&lt;BR /&gt;
Here's one for the crowd;&lt;BR /&gt;
&lt;BR /&gt;
How can I view the public key generated by the switch itself? I've got no problems going from the server to the switch, however the reverse is not possible without a pub key for the authenticated hosts file on the backup server.&lt;BR /&gt;
&lt;BR /&gt;
The case scenario is having a cron on the backup server that touches an .xsf script that uses scp to send the config file back up to the backup server. In this scenario with out a key share trust the password would need to be sent from each switch to the backup server. &lt;BR /&gt;
&lt;BR /&gt;
I've seen any number of ways to input the public keys of external servers, however not the reverse.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any insight, I think I'm just missing something basic in the config/command reference guides.  (from jhhyde2)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41625#M9631</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41626#M9632</link>
      <description>Create Date: Jun 21 2013  6:10PM&lt;BR /&gt;
&lt;BR /&gt;
Haven't tested, but:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;create sshd2 key-file host-key filename&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
it will create filename.ssh on root directory which contains a public key. Is this what you need?&lt;BR /&gt;
&lt;BR /&gt;
  (from Luis_Coelho)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41626#M9632</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41627#M9633</link>
      <description>Create Date: Jul 18 2013  5:01PM&lt;BR /&gt;
&lt;BR /&gt;
it will create filename.ssh on root directory which contains a public key. Is this what you need?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, that was precisely what I needed!&lt;BR /&gt;
&lt;BR /&gt;
  (from jhhyde2)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41627#M9633</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41628#M9634</link>
      <description>Create Date: Oct 15 2013  2:16PM&lt;BR /&gt;
&lt;BR /&gt;
Yes this is correct but:&lt;BR /&gt;
&lt;BR /&gt;
I can't get my public key to conf file via CLI so I have to copy my pub key via scp to switch memory a then use command:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;save&lt;/B&gt;  =&amp;gt; for save my key in configuration then:&lt;BR /&gt;
&lt;B&gt;configure sshd2 user-key  . . . .&lt;/B&gt; .    =&amp;gt; for bounding my login with pub key.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Important note&lt;/B&gt;:&lt;BR /&gt;
When you transfaring file which contains pub key you have to rename it!! For example: id_rsa.pub to &lt;B&gt;id_rsa.ssh &lt;/B&gt;and then system automatically adds this file to key database.&lt;BR /&gt;
&lt;BR /&gt;
Thats all    (from steja)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41628#M9634</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41629#M9635</link>
      <description>Create Date: Oct 24 2013  1:13PM&lt;BR /&gt;
&lt;BR /&gt;
Is there a way of configuring the account so it won't be possible to login with password, only with ssh key?&lt;BR /&gt;
&lt;BR /&gt;
  (from Luis_Coelho)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41629#M9635</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41630#M9636</link>
      <description>Create Date: Nov  8 2013 12:29PM&lt;BR /&gt;
&lt;BR /&gt;
No there is not such way. Because it's like ssh on Linux. Considering situation when a I don't have may SSH key than switch ask me for a password. So in my opinion there is one (and only) way how to achieve this:&lt;BR /&gt;
&lt;BR /&gt;
Create account with strong password for example with 30 pseudorandom digits and then apply configuration with ssh-keys which provide in post above.&lt;BR /&gt;
&lt;BR /&gt;
If there is another way please share it! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Bye.  (from steja)</description>
      <pubDate>Wed, 08 Jan 2014 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41630#M9636</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41631#M9637</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I've created the public key with the following command:&lt;BR /&gt;
&lt;BR /&gt;
 create sshd2 key-file host-key sshkey&lt;BR /&gt;
&lt;BR /&gt;
It created under the root directory the sshkey.ssh and inside it has the public key&lt;BR /&gt;
&lt;BR /&gt;
I've scp the key file to the remote server ~.ssh/authorized_keys&lt;BR /&gt;
&lt;BR /&gt;
However I still get the password prompt when I try to ssh from the switch to the remote server. &lt;BR /&gt;
&lt;BR /&gt;
I want to have this functionality in order to be able to automate some tasks within a universal profile. &lt;BR /&gt;
&lt;BR /&gt;
What exact commands I need to execute in order to store the public key in the Switch ? &lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Sotiris&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2015 23:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41631#M9637</guid>
      <dc:creator>Sotiris_Salloum</dc:creator>
      <dc:date>2015-02-04T23:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to setup passwordless SSH into X450a-48t switch</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41632#M9638</link>
      <description>Have you renamed the key file as sshkey.&lt;B&gt;pub&lt;/B&gt; in the remote host?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2015 23:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-setup-passwordless-ssh-into-x450a-48t-switch/m-p/41632#M9638</guid>
      <dc:creator>dflouret</dc:creator>
      <dc:date>2015-02-04T23:37:00Z</dc:date>
    </item>
  </channel>
</rss>

