http___linuxkitchen.com_2013_04_05_backuppc-i-zabrana-root-loga-kroz-mrezu__1.xml
1.1 2.1 3.1 4.1 5.1 6.1 7.1 8.1 9.1 10.1 11.1 12.1 13.1 14.1
By default, the connection with the root account is not possible because it does not have a password and the SSH server is configured so as not to allow connection with the root account. It happens that for some operation / installation the root account is required. In this tutorial, we will have how to configure Ubuntu / Debian in order to connect with the Root account in SSH. Set a root password sudo passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Allow SSH connection as Root Edit the following file: / etc / ssh / sshd_config Comment the following line: PermitRootLogin prohibit-password Add below: PermitRootLogin yes Restart the SSH service sudo service ssh restart You should now be able to log in as root with Putty and WinSCP.
1.1 2.1 3.1 4.1 5.1 6.1
Dakle BackupPC radi tako što koristi root passwordless ssh kroz mrežu, uz predhodnu razmenu ključeva između BackupPC servera i klijenta za koji se radi bekap. Ako se primeni povećana sigurnost kroz mrežu (zabrana root login-a kroz mrežu), ovo gore navedeno neće raditi. Ali postoji način da se to omogući, tako što će se na klijentu dozvoliti root login kroz mrežu, AKO su predhodno razmenjeni ključevi 😉 (dakle root password login kroz mrežu je i dalje zabranjen) Evo šta treba ubaciti u /etc/ssh/sshd_config fajl : PermitRootLogin without-password PermitRootLogin no