Was this when you were still logged into the teach cluster? When you are logged in, the terminal cannot reach the files on your Mac, like /Users/me/PHY1610Assignment2/cells_def.h . You need to be logged out to do the scp command. But if you were logged out, check that you typed the filename correctly, with "ls /Users/me/PHY1610Assignment2/cells_def.h".
Forum