[VIDEO] IT-inside 04. Интерфейсы, ssh, vsftpd, добавление пользователей.

Ссылки на обсуждение проблемы с сервисом networking.
Раз.
Два.

Используемые команды:
sudo vim /etc/network/interfaces
sudo apt-get install ssh
sudo vim /etc/ssh/sshd_config
service ssh restart
sudo apt-get install vsftpd
sudo vim /etc/vsftpd.conf
service vsftpd restart
adduser username
adduser username sudo

~$ cat /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
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.56.2
netmask 255.255.255.0
network 192.168.56.0
broadcast 192.168.56.255

sudo ifdown eth1 && sudo ifup eth1

~$ cat /etc/ssh/sshd_config | grep Port
Port 2222
~$ cat /etc/ssh/sshd_config | grep Root
PermitRootLogin no

~$ cat /etc/vsftpd.conf | grep write_enable
write_enable=YES
~$ cat /etc/vsftpd.conf | grep local_enable
local_enable=YES