Eg, restarting ssh:
/etc/init.d/ssh restart
Or
/etc/init.d/sshd restart
svcadm restart svc:/network/ssh