2
votes
2answers
85 views

Disable console access?

How do I disable console access to Ubuntu 12.04? I want to only allow login over SSH. I have searched the web thoroughly but no clear answer was found. EDIT: I'm talking about disabling physical ...
2
votes
6answers
17k views

How to use sshpass?

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, ...
1
vote
2answers
510 views

How to run app “quietly” on ubuntu vps via ssh

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 ...
2
votes
1answer
213 views

Suspend after delay via SSH

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 ...
1
vote
2answers
383 views

Lost console when EC2 ssh is logged out

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 ...
0
votes
1answer
910 views

How can I setup Ubuntu (and my home network router settings) so I can SSH to Linux console window?

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 ...
3
votes
2answers
302 views

alt-tab completion while using SSH

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 ...