All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
1answer
112 views

How to avoid 'ambigous redirect' when executing command over ssh

I'm trying to execute a script on a remote server via ssh. the command should go to the background and continue to run after logout. The result of the command should be redireced to out.log on the ...
1
vote
1answer
1k views

Login via ssh does not source the .cshrc file in my home directory (MobaXTerm Professional)

During my login to my Linux environment via ssh the .cshrc file in my home directory is not read. Each time I had to read this file after login via source ~/.cshrc I use MobaXTerm Professional 10.5 ...
0
votes
1answer
531 views

ssh command in background

Please help in following. I am doing ssh user@server "source script.csh" from my home server Let us suppose script.csh contains 10 commands : 1st to 3rd command runs instantaneously 4th command ...
6
votes
2answers
8k views

Is it possible to send a HEREDOC over ssh to a remote host from inside a script running locally?

I essentially want to run a script on machine A which will SSH into machine B, execute commands on B, and return the output to machine A. So I am creating a csh script to do this, hopefully, if it's ...