求助各位高人,我有3块树莓派,IP地址分别是192.168.0.11~13,用户名和密码都是默认的。互相之间ssh登录都没有问题,使用windows登录每一个也没有问题
但是当我想把一个上面的文件拷贝到另一个上面的时候如下操作
pi@RaspberryPi ~ $ sudo scp test.jpg pi@192.168.0.13:/home/
The authenticity of host '192.168.0.13 (192.168.0.13)' can't be established.
ECDSA key fingerprint is 80:8b:76:bc:b3:5d:56:6b:4c:98:58:e1:ed:d6:cb:ad.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.13' (ECDSA) to the list of known hosts. pi@192.168.0.13's password:
scp: /home//test.jpg: Permission denied
或者
pi@raspberrypi ~ $ sudo scp test.jpg pi@192.168.0.12:/home/
ssh: connect to host 192.168.0.12 port 22: Connection refused
lost connection
这两种错误请问如何解决?
我使用scp的原因是想把每个树莓派上拍的照片都拷贝到其中一个树莓派里面,这个树莓派已经使用samba做成了服务器,无奈的是共享文件夹在windows下可以访问,在树莓派之间却链接不上,求解
pi@raspberrypi ~ $ smbclient //192.168.0.12/piShare -U pi
Enter pi's password:
Domain=[OCEAM-NET] OS=[Unix] Server=[Samba 3.6.19-60.osstech]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME