VMware Cloud Community
prinz3noll3
Enthusiast
Enthusiast

Can not copy via scp from esxi 5.1 to 7.0U2

Hello,

i ve open on both server the firewall for the client and the ssh server

esxi 5.1 ip .240

esxi 7u2 ip 241

i can connect from esx 5.1 .to esxi 7 .and vice versa via nc.

nc -z 172.16.0.241 22
Connection to 172.16.0.241 22 port [tcp/ssh] succeeded!

nc -z 172.16.0.240 22
Connection to 172.16.0.240 22 port [tcp/ssh] succeeded

But i cant copy any file.

i try to copy an file from .240 to 241 logged in .241

scp sroot@172.16.0.240:/vmfs/volumes/3f414d60-0c488230-8194-782bcb795ac4/SRV2003/vmware.log /vmfs/volumes/409b9f48-efe2ca3e-28c2-ac1f6be96c62/
ssh_dispatch_run_fatal: Connection to 172.16.0.240 port 22: invalid argument

i try to copy an file from .240 to 241 logged in .240

scp -r /vmfs/volumes/3f414d60-0c488230-8194-782bcb795ac4/SRV2003 root@172.16.0.241:/vmfs/volumes/409b9f48-efe2ca3e-28c2-ac1f6be96c62/
no matching mac found: client hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-256,hmac-sha2-512
lost connection

 

thanks for the help

 

Labels (1)
0 Kudos
3 Replies
trying2vm
Contributor
Contributor

Were you able to resolve this issue?

I am trying to copy files from 5.5 to 7.0 and experiencing the same error.

 # scp Win10Pro-Test/* root@10.8.8.85:/vmfs/volumes/RAID60/1
no matching mac found: client hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-256,hmac-sha2-512
lost connection

0 Kudos
prinz3noll3
Enthusiast
Enthusiast

Hello,

i copy the files from 5.x to a linux host, mounted pet nfs, and from linux to the esxi 7.

the peer to peer (esxi 5 to esxi 7) way did not work for me. i found no solution for that

sorry

rajeshthampi
Contributor
Contributor

Having the same issue as on 15th December 2021. Forced us to SCP the files from ESXi 5 to Linux host & then to ESXi 7!

0 Kudos