<?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 copy files from one esxi to another in ESXi Discussions</title>
    <link>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2948145#M285926</link>
    <description>&lt;P&gt;When I try to copy files from one esxi host to another it gives error:&lt;/P&gt;&lt;P&gt;[root@esxi01:~]scp /var/log/init.log root@esxi02.mydomain.com:/tmp&lt;/P&gt;&lt;P&gt;hostfile_replace_entries: link /.ssh/known_hosts to /.ssh/known_hosts.old: Function not implemented&lt;BR /&gt;update_known_hosts: hostfile_replace_entries failed for /.ssh/known_hosts: Function not implemented&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even when I ssh from esxi01 to esxi02 I get the same error but the ssh connection is successfull:&lt;/P&gt;&lt;P&gt;[root@esxi01:/tmp] ssh root@esxi02.mydomain.com&lt;/P&gt;&lt;P&gt;(root@esxi02.mydomain.com) Password:&lt;BR /&gt;hostfile_replace_entries: link /.ssh/known_hosts to /.ssh/known_hosts.old: Function not implemented&lt;BR /&gt;update_known_hosts: hostfile_replace_entries failed for /.ssh/known_hosts: Function not implemented&lt;/P&gt;&lt;P&gt;[root@esxi02:~]&lt;/P&gt;&lt;P&gt;I have disabled the firewall on the hosts while testing, but are still unable to scp between the hosts.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 17:11:00 GMT</pubDate>
    <dc:creator>jravnsbaek</dc:creator>
    <dc:date>2023-01-11T17:11:00Z</dc:date>
    <item>
      <title>copy files from one esxi to another</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2948145#M285926</link>
      <description>&lt;P&gt;When I try to copy files from one esxi host to another it gives error:&lt;/P&gt;&lt;P&gt;[root@esxi01:~]scp /var/log/init.log root@esxi02.mydomain.com:/tmp&lt;/P&gt;&lt;P&gt;hostfile_replace_entries: link /.ssh/known_hosts to /.ssh/known_hosts.old: Function not implemented&lt;BR /&gt;update_known_hosts: hostfile_replace_entries failed for /.ssh/known_hosts: Function not implemented&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even when I ssh from esxi01 to esxi02 I get the same error but the ssh connection is successfull:&lt;/P&gt;&lt;P&gt;[root@esxi01:/tmp] ssh root@esxi02.mydomain.com&lt;/P&gt;&lt;P&gt;(root@esxi02.mydomain.com) Password:&lt;BR /&gt;hostfile_replace_entries: link /.ssh/known_hosts to /.ssh/known_hosts.old: Function not implemented&lt;BR /&gt;update_known_hosts: hostfile_replace_entries failed for /.ssh/known_hosts: Function not implemented&lt;/P&gt;&lt;P&gt;[root@esxi02:~]&lt;/P&gt;&lt;P&gt;I have disabled the firewall on the hosts while testing, but are still unable to scp between the hosts.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 17:11:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2948145#M285926</guid>
      <dc:creator>jravnsbaek</dc:creator>
      <dc:date>2023-01-11T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: copy files from one esxi to another</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2948302#M285945</link>
      <description>&lt;P&gt;Try to add the parameters&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null&lt;/LI-CODE&gt;
&lt;P&gt;to the scp command (as suggest e.g here:&amp;nbsp;&lt;A href="https://serverfault.com/questions/330503/scp-without-known-hosts-check" target="_blank"&gt;https://serverfault.com/questions/330503/scp-without-known-hosts-check&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 12:32:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2948302#M285945</guid>
      <dc:creator>peetz</dc:creator>
      <dc:date>2023-01-12T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: copy files from one esxi to another</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2953500#M286550</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;the issue is, that there is no '.ssh' directory in / on ESXi&lt;BR /&gt;the directory in esxi is placed to /etc/ssh/keys_&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;same for 'authorized_keys' file, which is usually to find in this directory, in case you want to implement rsa key authentication.&lt;/P&gt;&lt;P&gt;it worked for me by creating a softlink (ln -s /etc/ssh/keys-root /.ssh)&lt;BR /&gt;the very first connection to anther host still produces the above message, but just simply because there was no known_hosts file at all at the time&lt;BR /&gt;&lt;BR /&gt;after first connect you will see the known_hosts file then&lt;BR /&gt;and when connecting to the next host, you will not get the message anymore, as well you can verify the changed filesize and content of the known_hosts file.&lt;/P&gt;&lt;P&gt;for the point 'but are still unable to scp between the hosts'&lt;BR /&gt;pls check that again, scp should be very well possible, since you are obviously able to login to the other server.&lt;BR /&gt;usually there is (as u had mentioned) the firewall blocking outgoing requests from ssh-client&lt;BR /&gt;but if ssh-client outgoing is allowed, it doesn't matter anymore if ssh or scp is getting used..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 11:50:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/copy-files-from-one-esxi-to-another/m-p/2953500#M286550</guid>
      <dc:creator>haprinz</dc:creator>
      <dc:date>2023-02-09T11:50:39Z</dc:date>
    </item>
  </channel>
</rss>

