All Questions
3
questions
0
votes
2
answers
2k
views
Run ssh command without quotes
You can execute a command on a remote server using
ssh user@host 'the command'
but is there a way to execute the command without quotes?
(I am on BSD and using OpenSSH)
1
vote
4
answers
1k
views
execute command over ssh connection [duplicate]
I want to excecute the following command over a ssh connection:
tmpValue=$(cat /var/run/jboss-as/jboss-as-standalone8.pid) && top -b -U jboss -n 1 |grep $tmpValue |awk '{print $9}'
This ...
3
votes
2
answers
3k
views
Execute command through SSH
I am writing a script to check whether all the servers in my organization are functioning properly. One of those is Zimbra mail server. I am trying to send a mail through sendmail provided by zimbra ...