Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
September 12, 2008, 8:05 pm
rate this thread
I am trying to launch a command through ssh.
I use something like
ssh -i user@host 'export REMOTE=myname; nice nohup ./my-restart'
The problem is that the output appears on the local server where I ran
this command and not on the remote machine.
If I run the command "nice nohup ./my-restart &" on the remote machine
directly then the nohup.out file is created and the output appears
there. This is what I want.
Also I find that if I put a & into the ssh command above then the
command doesn't work.
Any Ideas? If this isn't the best place to post this then please
advise as to the best spot.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum