Install SSH Server or other terminal viewer for HTC X one
QuickSSHd works on rooted and non-rooted phones. There are some limitations on non-rooted phones (running on port 2222 instead of 22, etc.), but other than this, I have yet to see any problem with it on any device (tested from 1.6 through 2.1 to 4.1). Costs approx. US$1.5