Ahhhh! I understand what you mean, thank you for the very thorough explanation! I'm not running it in an IDE, if that makes any difference - I'm running in on a JBoss Enterprise Application server (any thoughts on a workaround with this) I could try SSH-Keys, but after testing locally, I am actually going to end up connecting to a device I believe running VX-Works which has SSH capabilities but not sure on the SSH Keys. I'll take a look at SSHPass, thanks for the tip! else, I'll continue to use a Java Based SSH Library, I take it you mean JCraft and JSch? Seeing as how it's your preference, and you have considerably way more experience - likely thats the way I'll go. I just looked at possibly doing it with telnet, anbd again - likely I'll run into the same issue with TTY. And thank you for bringing up TTY, I'd never put 2+2 together as to why some cli commands cannot be easily interacted with SSH/Telnet and thats why in the past, minus java - I always just used expect ;-)
Feel free to follow up if you want to elaborate any further on my questions or comments but if theres not much - dont worry - thank you for taking the time to reply, may bug you a bit as I go along but I'll try and keep it at a minimum.
Have a great day/night - wherever you are!
Jay