若本机可以使用scp,那么执行scp上传文件时,报错误:
bash: scp: command not found
lost connection
那么说明对方没有安装openssh-clients软件包。