To enable SSH login for a root user on Debian 8 Jessie, you need to configure the SSH server config.
/etc/ssh/sshd_config and change:
Save the configuration file and then restart the SSH server:
#service ssh restart
How to Setup Static IP Address on Debian 6 Squeeze
In order to setup a static IP on Debian 6, you need to edit the /etc/network/interfaces file. You will not be able to complete this through a SSH session as obviously you will be changing the IP address of the system. Create a backup of the file first:
#sudo cp /etc/network/interfaces /etc/network/interfaces.org
Edit the interfaces file as follows:
#sudo vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static
!Important - make sure you use your own IP addressing in the above example.
Restart the networking services:
# sudo ifdown eth0 && ifup eth0...