1. windows连接linux
linux电脑
1.安装ssh服务
sudo apt-get install openssh-server
2. 启动服务
service sshd start
3. 查询当前ip
ifconfig
win10系统
利用xshell输入ip,用户名和密码进行登陆
2. linux连接linux
ssh root@10.10.x.x(ip地址)
3. linux之间拷贝材料
scp local_file remote_username@remote_ip:remote_folder