Anti-King Diagonal Outside Sudoku

Sudoku with digits shown outside each row and column. Cells that touch as a king moves cannot contain the same digit. Both main diagonals must also contain each digit once.
Controls
Solve the sudoku. Every outside digit must appear in the nearest three cells of that row or column.
Logic · Numbers · Deduction · Grid
Brain training · PuzGo