在RPi 2上安装openssh-server(Ubuntu Mate)

时间:2015-07-11 12:21:47

标签: ubuntu raspberry-pi openssh raspberry-pi2

我尝试使用etc / rc.local在新的Ubuntu Mate上安装RPI 2上的openssh-server。所以我试着用这个:

#!/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上没有安装或更改任何内容。我做错了什么?

0 个答案:

没有答案