Find the log files where these services log failed login attempts, and then add sections for these services in your fail2ban configuration.