passwd # change "chip" account's password
sudo passwd -l root # lock the root account from direct login
sudo sed -i.old /etc/ssh/sshd_config -e'/PermitRootLogin/s/yes/no/' # configure sshd to not allow root
sudo service ssh restart
sudo systemctl poweroff
$ bluetoothctl
[bluetoothctl] power on
## Turn on keyboard if it's been paired
[bluetooth] pair [device-id]
[bluetooth] connect [device-id]
[bluetooth] trust [device-id]
Add the following to /etc/avahi/services/afpd.service
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
</service-group>
Next, reconfigure the hostname and hosts files (/etc/hostname /etc/hosts) and change chip
to desired hostname
Then restart the avahi daemon: sudo /etc/init.d/avahi-daemon restart
sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key