Imagine a shell script on the remote server as
#!/bin/bash
rm /test.x
How can I (if possible) to execute this script from my local machine to delete /test.x file on my local machine.
How to see the output from remote server during execution of a script ?
I am executing a script (ls) from machine 1 but the o/p should be displayed in machine 2. Can I achieve this ?
Example:-
Machine 1:-
# ls
Machine 2:- (console)
file1 file2 file 3
dir1 dir2
I have left a script running on a remote machine from when I was locally working at it. I can connect over SSH to the machine as the same user and see the script running in ps.
My local Linux machine has coloured terminal output like this;
When I SSH to a pfSense/BSD box it changes the colours like this;
Even when I SSH from to a machine that doesn't have a coloured local terminal output, and SSH from there to this pfSense/FreeBSD box it enables coloured output, and starts producing unwanted coloured output/
Is there something I can change locally so that when I S
Hi All,
i am writing a shellscript to compare cksum of the file in local machine and after copying to remote machine. i am not able to assign command output value to variable in remote machine through SSH. PFB code for this.
I made a tar with a directory on a remote machine with:
tar -czvf
I scp it to my local machine, where I wanted to untar it:
tar -xzvf
But I get : Cannot open: File name too long
On my local machine on lubuntu 12.04 I have: tar (GNU tar) 1.26.
The remote machine is not accessible right now, I'll check the version after if needed.
I would like to extract without having to make a new tar, e
I have a remote server filesystem that I'm attempting to mount locally on a FreeBSD 9 machine via FUSE sshfs, and Cron for a backup routine.
Hello everybody,
I'm testing some aspects of X Terminal implementation and it's going great. I can use remote applications on my local slow workstation at remote's processor speed by redirecting the remote DISPLAY variable to "my_local_ip:0.0"; but i'm having troubles to get remote audio and video...
I've tried doing it myself but after the script logs into the remote machine, the script stops, which is understandable as the remote machine is not aware of the script, but can it be done?
Thanks