Every time I try to copy files from my ESXi machine to my Linux machine, the transfer fails. If it doesn't give an error right away, it eventually gives one after waiting for a long time.The command used is "scp" with the target's root folder at "IP:path/to/folder"; unfortunately, if I copy from Linux to ESXi, it works fine.
Has anyone had a similar issue?
For remote access, you have to enable SSH in order to use the CLI from a remote computer.
esxcli network firewall ruleset list --ruleset-id sshClient
Windows: enable the SSH client.
esxcli network firewall ruleset set --ruleset-id sshClient --enabled=true