Éditez /etc/ssh/sshd_config :
À la fin, ajoutez ce bloc :
Match Address 192.168.2.45 PermitRootLogin yes
Match Address * PermitRootLogin no