音乐电影输出到远程计算机

root@raspberrypi:/var/www/html5music/music# ssh-copy-id yanisyu@192.168.1.108

root@raspberrypi:~/.ssh# ssh-copy-id  "-p 22 yansiyu@120.26.44.201"

多台服务器免认证

root@raspberrypi:~/.ssh# ssh-copy-id -i mybook.pub yanisyu@192.168.1.108 //用公钥

root@raspberrypi:~/.ssh# ssh -i mybook yanisyu@192.168.1.108 //用私钥

root@raspberrypi:/var/www/html5music/music# cat 喜欢你.mp3|ssh yanisyu@192.168.1.108 mpg123 -

root@raspberrypi:/var/www/html5music/music# dd if=喜欢你.mp3|ssh yanisyu@192.168.1.108 mpg123 -

root@raspberrypi:/home/pi# dd if=泰jiong.mp4|ssh yanisyu@192.168.1.108 "export DISPLAY=:0;/usr/bin/mplayer -"

    A+
发布日期:2015年09月13日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: