If we want to authenticate users via AD data while SSH

If we want to authenticate users via AD data while SSH rather local user, what command we will have to use in Routers instead of #login local