I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
I have an ubuntu vps and I want to run an app through ssh but I want to do it "quietly". I mean, when I for example start top, it is displayed in my ssh console and I don't have access to my vps ...
I know how to suspend after a delay by using: echo 'pmi action suspend' | at now + 1 minutes However, that only seems to work as long as I keep the console window open. Am I correct in assuming ...
I run a java application as a server on a EC2. But as I loose my ssh connection all console messages are also lost. When I redirect all messages to > my.log and then use tail -f my.log I dont get ...
I installed Ubuntu version 11 not too long ago. I now have that computer running on my home network and it has it's own internal IP address on my home network behind a LinkSys Router. How can I ...
I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...