Scots face the threat of more tax pain after a senior SNP minister refused to rule out being forced into more hikes by the Greens.