Working with files, programs, etc., that are stored on a different machine

learn more… | top users | synonyms

1
vote
2answers
114 views

Can't ssh to a machine

All of a sudden, I couldn't ssh to a machine to which I used to ssh earlier. Consider I am ssh-ing from A to B. Output when I run ssh root@ip_addr_of_B I get: Permission denied ...
3
votes
2answers
116 views

running a program located on my computer on a server

There is a server I can SSH into , but I can't use up a lot of the HDD space on it. I want to run a program, but this program is quite large, so I can't just copy it to the server. Is there a way to ...
1
vote
2answers
217 views

Performance and limitations of using an X GUI remotely?

I don't really have any experience with X. It appears from what I read that X has always been built from the ground up to allow windows in the WM to be transmitting over the internet, without ...
4
votes
3answers
741 views

.ssh/config to start remote session in zsh

I would like to start a remote session without typing the following command ssh user@remoteserverip -t zsh I know that I can change the host names in the ~/.ssh/config to simply use something like ...
1
vote
2answers
53 views

How do I mount drive from one machine to another machine?

I am running two linux machines in VMWare - and would like to mount a drive from machine_1 on machine_2. Is it possible if I can ssh from one machine to another?
0
votes
1answer
100 views

Importing files from Windows to Linux [closed]

I would like to copy a CSV file from a Windows environment to a Linux environment. Both environments communicate through a terminal emulator called SecureCrt.
1
vote
1answer
134 views

Remote PC accessible by ssh, scp/rsync not working (anymore) [closed]

I've got a remote machine running Ubuntu 12.04 LTS. I've used it lots of times to log in to via ssh and to copy files to via scp and rsync. Today I was able to log in via ssh, but I'm not able to ...
1
vote
3answers
190 views

Launching shell script from SSH and disconnect

I have a script which I run from SSH that launches several processes which I would like to keep open when I disconnect from my session. Is that feasible? Launching the script in background is not a ...
1
vote
2answers
1k views

How to run client script on on remote host and get results to the client

How to run script residing on the client on a remote host and get results back to the client in one go.
3
votes
3answers
2k views

Using winexe to run “wmic” commands on a Windows machine

We use winexe to execute commands on our Windows machines from Linux. For example: winexe -A authfile //syspc4.domain.com "ipconfig /all" Expectedly the above prints out the same thing as if you ...
4
votes
1answer
124 views

Communicate across X-desktop sessions on same machine?

I've got a Raspberry Pi running Debian/Raspbian (thus X server) that I'd like to drive two screens with. I'm programming something that will have a public-facing screen and an operator-facing screen. ...
1
vote
1answer
76 views

Splitting display among computers

If i have 17 system units (computers with monitors) that connected using network, is it possible to display image or video splitted into those computers without having split it manually? 1 2 3 4 ...
0
votes
1answer
94 views

How to control desktop applications over SSH

Assuming that the wife is right now using our desktop Kubuntu machine, probably surfing the web in Firefox or using Digikam. After logging into the machine via SSH, what can I do to 'pop up' little ...
2
votes
5answers
1k views

How do I set time and date from the Internet?

How do I retrieve the date from the Internet and set my computer's clock, from the command line?
2
votes
2answers
932 views

Playing a remote movie on the remote computer

I have two computers (a desktop and a laptop) running linux connected to my local area network. I like to ssh from my laptop over to my desktop and run programs there, and sometimes listen to music on ...
1
vote
1answer
222 views

Resolving an alias to a remote server

I have what I think is called an IP alias, which is used to access a Windows file server from a Unix server. The path on Unix looks something like: /folder/file.txt which is somehow resolved as: ...
4
votes
3answers
846 views

ssh will sporadically hang temporarily on fast connection

I am using Ubuntu 13.04 on my laptop, connected to my router at home. When working from home, I will ssh into the servers on campus, through a vpn, with X11 forwarding. ssh -X ...
1
vote
2answers
122 views

Remote backup of local server applying Rsnapshot

I have a server which uses Rsnapshot to take snapshots of folders in miscellaneous computers within a Lan. I would like to have another server located remotely that is to serve as a backup to this ...
2
votes
2answers
103 views

Burn remote data on to a disc

I have an ISO image in another system which I need to burn on my system. I can copy that image to my system using SCP and then do burning. But I would like to know, whether I can directly burn the ...
0
votes
0answers
32 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
109 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
254 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
1answer
161 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
102 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. ...
4
votes
2answers
2k 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 ...
4
votes
2answers
7k 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
464 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 ...
6
votes
3answers
15k 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 ...
4
votes
2answers
2k 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
67 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
113 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
2k 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
697 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 ...
3
votes
5answers
2k 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 ssh connection remains active for a long time which I don't know why? I want to close the ssh ...
1
vote
1answer
146 views

How can I remotely access linux servers

I have a couple of servers that I need to remotely monitor. Is there anyway that I can do that? Should I use vncviewer, ssh, or what?
2
votes
3answers
736 views

How can I securely login remotely to my Linux box over the internet?

I'm pretty much a Linux beginner, but this question has been on my mind. What's the simplest, most secure way to connect to my computer at home from work or from the library, &c? I'm running Mint ...
1
vote
1answer
222 views

Can SSH-Agent work from a remote bash script?

Server A needs to connect over svn+ssh to Server B to grab some source files for deploying on Server A. My deployment script runs from my local dev machine via: ssh serverA 'bash -s' < deploy.sh ...
2
votes
2answers
778 views

Printing a file from local computer using printer connected to remote server

On the remote server, I use lp command to print documents. I can connect to this server through SSH. How can I print a file directly from my local computer using that printer?
2
votes
4answers
237 views

How to restore data atomically on a remote server?

I want to be able to backup and restore my home directory of a remote account. The command I use are: Backup ssh myuser@myuser.server.com "tar jcf - ." > backup.tar.bz2 Restore cat ...
1
vote
3answers
1k views

How to automatically mount remote directories on login / startup

Everytime I boot, I use sshfs to mount remote directories. I am thinking to put these short commands in my .bashrc, but that does not seem to be The Right Way™. What is the proper way to run sshfs on ...
3
votes
1answer
693 views

How to disable remote access on a linux distribution?

So I've read in Mark Sobell's book on Linux, that Linux by default is open to remote administration. Now seen as I'm running a Fedora 17, on a laptop I never have to administrate anything on remotely, ...
5
votes
2answers
824 views

Can I start my main desktop graphical session remotely?

So my workstation at work got rebooted and I'm currently not logged in physically there with a graphical session. I have ssh access to it, and I can start a new X windows session and use my graphical ...
7
votes
3answers
2k views

How to set up “poor man's” Linux desktop cluster?

There are several small Linux/Android devices on the market with 1 GHz ARM processor, 512 MByte RAM and cca. 4 Gbyte storage for $35-$40. If I buy 5 pcs, it's only around $200. Let's say, we have ...
3
votes
3answers
1k views

rsync list of files in sub-directories to remote server and delete extraneous

I haven't been able to find the answer to this one. I have tried all kinds of combinations of --include, --exclude, -r, --delete-excluded, and source directory. This is what I'm trying to accomplish: ...
4
votes
1answer
159 views

Set window manager's meta key depending on connected Xserver

Situation A linux server is running an xdm supporting XDMCP, it is connected to from various different Linux and OS X boxes using XDMCP via an X -query <server> command. Once the user is ...
2
votes
2answers
154 views

How to securely export a device (HDD)?

So I have a Scientific Linux 6.3 (RHEL clone so basically the question is Redhat related) machine called "B" (with an extra "A" HDD besides the system HDD) and a notebook with SL 6.3. They are in a ...
1
vote
1answer
392 views

remote desktop view of a Debian Lenny Machine

Let me give a summary of my project specification. I have a windows server and bunch of debian clients on the same LAN, Debian machines do not have x window system, they are bound to command line use. ...
1
vote
1answer
838 views

Safety of SMB versus SFTP

I have a server with OpenSSH enabled. I use it to make distant backups. I mainly use rsync over SSH and SFTP. I understood that these protocols are quite safe. I am interested in enabling Samba share ...
1
vote
1answer
146 views

SSH login to remote machine from another remote machine - How to manage connections?

Due to some security policy I had to ssh into a remote machine using another remote machine to which I ssh-ed. Here is the situation. I have access to BSD box at work and the access is only available ...
5
votes
1answer
1k views

Send a command from the console to a running X server

Is it possible to send a command from the console, say tty1, to the terminal currently occupied with X (in my case tty7 as I use Debian), to tell for example mplayer to play a movie? Edit - made a ...