-
restarting networking:
sudo /etc/init.d/networking restart
-
start on boot:
sudo update-rc.d <service-name> disable|enable
-
install ssh:
sudo apt-get install openssh-server openssh-client
sudo /etc/init.d/networking restart
sudo update-rc.d <service-name> disable|enable
sudo apt-get install openssh-server openssh-client