Anti-Knight Outside Sudoku

Sudoku with digits shown outside each row and column. Cells a knight’s move apart cannot contain the same digit.
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