sudo su
123456
sudo passwd
123456
123456
(sudo apt-get install openssh-server)
sudo dpkg-reconfigure openssh-server
sudo nano /etc/ssh/sshd_config
#PermitRootLogin without-password
PermitRootLogin yes
ctrl+x
Y
sudo service ssh restart
sudo nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
reboot