Working with files, programs, etc., that are stored on a different machine
0
votes
0answers
30 views
SSH remote command execution: get output before execution ends [duplicate]
Consider the following simple c program test.c:
#include <stdio.h>
int main(void){
printf("foo\n");
sleep(5);
printf("bar\n");
return 0;
}
The program prints ...
0
votes
0answers
19 views
uploading from Netbeans to remote CentOS server failed
I have a php web application on Netbeans on my Ubuntu , and server is CentOS on a virtualBox .
Suddenly uploading to server stopped and I'm getting these errors for non-root user :
Failed:
file ...
1
vote
1answer
32 views
Why ssh -nq -t can't see my environment variable?
I am executing a command on remote machine with -t flag ( to prevent the command from 'blocking' ) the prompt (somehow it works that way). So I am using ssh -nq -t root@ip but with this, the script ...
0
votes
0answers
24 views
I'm able to remotely ssh into Cygwin on XP, but it warns “Could not chdir to home directory” and my /bin is almost empty
I've made a firewall exception, opened ports 22 through 443 to the correct internal IP (I think), and am able to log in using my external IP, but it's like I have very limited view access to almost ...
1
vote
1answer
45 views
Access X-window and sound on laptop on another Unix
I read up a lot about forwarding x-server onto remote machines, but I feel like I'm too dumb to get it to work. Let me first explain my goal:
I have a Rasberry Pi running archarm hooked up to a TV. ...
3
votes
2answers
134 views
Mount HTTP Server As File System
I have a machine on which I wish to mount multiple remote servers to access them all centrally. For remote Linux based systems I am using SSHFS which works fine. But for Windows systems, or systems ...
1
vote
2answers
429 views
bash shell - ssh remote script capture output and exit code?
I wish to use shell to invoke a script on a remote server.
I would like to capture the output of that script (its logging messages) and the exit code it returns.
If I do this:
ssh user@server ...
2
votes
1answer
107 views
Is there anyway to run gnome desktop via a remote x window ssh tunnel?
I'd like to run the DE remotely in a window of it's own on my local workstation. When I tried the naive gnome-session from an x-window tunnel it tried to takeover my local xfce desktop, got as far as ...
1
vote
3answers
397 views
Best way to mount remote folder
I have two RasberryPi running debian wheezy and I would like to mount a folder from computer A on computer B.
What is the best (as in most efficient) way to do this?
I can do it via SMB, but that is ...
3
votes
2answers
1k views
Executing a shell script from remote server on local machine
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. Obviously, the ...
2
votes
2answers
50 views
Download copy of file which updates on change
Sorry about the title, I didn't know how to write it - It's kind of confusing.
Ok, I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at ...
0
votes
1answer
45 views
What is a remote config server?
I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show:
bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote ...
2
votes
3answers
699 views
Run local scripts on multiple servers using sudo user through a script
I have about 100 remote servers. I want to manage all my servers using one terminal server to update , run commands with sudo privileges.
I need to have one main script that takes another test script ...
2
votes
1answer
184 views
permission denied executing script over ssh
When a web page is loaded on server A i want it to run a script on server B. I can do this with a series of commands from server A by logging into server B and executing the script, but it needs to be ...
2
votes
6answers
383 views
Closing connection after executing reboot using ssh command
I am using the reboot -f command remotely to force reboot a Unix machine.
The problem is that the connection remains active for a long time which i don't know why?
I want to close the ssh connection ...