在RPI2(UbuntuMate)上安装openssh服务器
我正在尝试在RPI2上安装openssh服务器,并使用etc/rc.local安装新的Ubuntu Mate。所以我试着用这个:在RPI2(UbuntuMate)上安装openssh服务器,ubuntu,raspberry-pi,openssh,raspberry-pi2,Ubuntu,Raspberry Pi,Openssh,Raspberry Pi2,我正在尝试在RPI2上安装openssh服务器,并使用etc/rc.local安装新的Ubuntu Mate。所以我试着用这个: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In o
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
apt-get update && apt-get -y install openssh-server
exit 0
但在RPi上没有安装或更改任何内容。我做错了什么?run'sudo service ssh status'run'sudo service ssh status'