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

learn more… | top users | synonyms

1
vote
1answer
13 views

Cannot change vncserver default geometry

I'm using Ubuntu 12.04 (I think it's desktop...) and running vncserver to connect to it remotely. I can successfully set the resolution if I use the -geometry flag when starting the server, but I ...
3
votes
3answers
2k 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: ...
0
votes
0answers
7 views

Why can't I start a VNC session using the randr flag?

I'm using Ubuntu 12.04 (I think it's desktop...) and can successfully run vncserver (which ultimately links to /usr/bin/vnc4server) and connect with my client, and I can also add the -geometry flag ...
0
votes
3answers
47 views

Linux distribution with remote desktop?

I have a old computer, where I want to install Linux. It will be server but I want to use as normal operating system. But I have problem, because I don't have display for this computer, because this ...
1
vote
2answers
36 views

Graphical view of files on server

I work at a university, and I have a personal webpage. This is located in my home directory, under public_html. I want to start editing this webpage from Linux. Under Windows, I used to map to this ...
1
vote
2answers
53 views

Remote monitoring Linux server from Ubuntu workstation via SSH [closed]

I am looking for a convenient way to monitor my Ubuntu server from my laptop (running Ubuntu Desktop). I understand this is easily achievable by SSHing to the server and running commands, but I'd like ...
0
votes
1answer
96 views

Intermittent 'ssh_exchange_identification: Connection closed by remote host' error

While there are many questions on this site and others addressing this very issue, I haven't yet found one that seems to address what I'm experiencing. When trying to ssh a linux box from a MBpro ...
3
votes
1answer
61 views

scripting copy of remote root-owned files when 'PermitRootLogin no'

I'm setting up a cloud node (only ssh-accessible, GUIs deprecated, running Debian 7) with 'PermitRootLogin no' for security. For some applications I want to copy some root-owned config files from the ...
0
votes
2answers
47 views

Disable incoming telnet connections

I'm trying to secure my Debian server, and noticed that if I type telnet myserverip port# then anyone can see my ssh version. I'm a bit worried that people can do some harm aside from that. How can I ...
4
votes
3answers
3k views

How do I only copy files to a remote folder on another server that don't already exist in the folder… from the command line in linux?

I have two folders on two different servers. I want to sync files between A and B, however, I only want to copy files that don't already exist in folder B because these files are huge. I don't care ...
3
votes
2answers
135 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
3answers
167 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 ...
1
vote
1answer
24 views

remote desktop on host

I have a host and I need people from Europe to access application on its desktop. So far I have told them to use ssh -x -C user@host and then launch an application with application& to get the app ...
1
vote
1answer
78 views

VNC & SSH : local (win-putty) -> hop (linux) -> remote (linux)

I'm gettin a headache trying to access a remote VLC & SSH. This is the situation : Local : Win box behind NAT, dynamic IP. I want to connect from here. Hop : Linux box, static IP server Remote ...
2
votes
1answer
27 views

Preferred approaches to remote logging of a script / daemon?

I run a script as a daemon which gets started and stopped via /etc/init.d on a Raspberry Pi. For a number of reasons - including limited local file storage - I'd like to direct stdout and stderr from ...
0
votes
2answers
138 views

Login by ssh , exec one command and i don't want to quit the bash

I want to change PS1 when i ssh another centos strshell = 'PS1="remote!"' os.system("ssh -i %s -l%s -p%s %s %s"%(SSH_KEY,SSH_USER,SSH_PORT,des,strshell)) ssh quit automatically. I want to ...
-1
votes
2answers
36 views

Connect to a remote linux server that is in default setup, not configured to be connected?

In our Company we have an internal-wikipedia-like help site. The Problem is, the MindTouch-Wiki is out of date, so i have to update it! The Problem is, its running virtual. Its Ubuntu 7.7 In ...
0
votes
1answer
30 views

Terminal not reporting resize properly

I'm having a problem where when I resize my terminal, it doesn't seem to be reported properly and so none of the applications in it don't display properly. For example: If I open a terminal, remote ...
5
votes
1answer
252 views

How to rollback network configuration changes done over SSH in case of failure?

I'm about to change iptables configuration and interface speed and duplex settings over SSH. What are the possibilities to rollback the changes in case of host becomes unreachable? I guess simple: ip ...
1
vote
1answer
198 views

Postfix vs Google SMTP servers inconsistency

I wanted to host my own mail server and in order to do so I've installed Postfix 2.7.0 and Dovecot 1.2.9 on Ubuntu Server 10.04. I had fun reading the docs and configuring all these great tools, I am ...
2
votes
1answer
253 views

Reinstall Debian

I have a Debian based server but I don't have physical access to it and it doesn't have a DVD-drive or similar. I only have root access. Is it possible to format and reinstall Debian just by using the ...
2
votes
0answers
30 views

Remote virtual displays

I have two machines in local network, e.g. 192.168.8.30 (1) and 192.168.8.31 (2) and for each connected 2 displays. I want to use all of display like a physically connected to one of machine. Can I ...
0
votes
1answer
39 views

Executing a shell on remote unix server through jumphost from local machine

I would like to excute a shell script on a remote unix server. Now, I dont have direct connectivity to this server. I must go through jumphost which is also unix box. I want to make a batch file which ...
3
votes
4answers
129 views

The most *robust* remote file copy?

How would I go about to copy files over a very unstable internet connection? Sometimes, the connection is lost, other times the IP of one machine or the other machine is changed, sometimes both, ...
2
votes
1answer
436 views

Get screenshots of a Linux machine that I connect to remotely with PuTTY

My setup is this, I connected my Cent box via PuTTY on windows 7, I've Xming and using X11forwarding to have GNOME in windows. Now when I did gnome-screenshot in putty, I cannot have the CentOS ...
1
vote
2answers
205 views

How can I ssh to a remote server with an automated password and no key?

I have a remote server. I planned to use public keys to connect over ssh without typing the password but the remote system rejects public key authentication. So what is the best way to do it? What ...
3
votes
0answers
2k views

Alternatives to xmove, xpra

A bit of background information: I'm dealing with a piece of software that is part of a larger system. Most pieces of the system have a background process that runs continually, and a GUI that can be ...
0
votes
3answers
92 views

Connectivity between 2 remote Linux machines

I have two remote machines, I'm running a script on one of them. There's some part of the script that should be running on the other one, then the script will continue in its further tasks/commands. ...
1
vote
0answers
30 views

Is it possible to cancel a job in the printer spooler with cancel -a

I need to cancel a printing job in a printer cause the job I want to send is a "high priority" job. I have CentOS 6.2 installed. I know that with CUPS and cancel -a I can cancel all local printer jobs ...
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 ...
1
vote
2answers
111 views

Symlink from one workstation to another without mount

I am trying to create a symlink of a file on one linux workstation to another linux workstation, without having to 'mount' any network shares. Here's what I am trying to do, but can't get it to work. ...
0
votes
1answer
45 views

Why is my Netstat not returning the desired output and just getting hung up?

My remote Linux machine is able to ping an IP address on an internet, but the same is unable to get the netstat report for that IP, please help through. ping a.b.c.d 64 bytes from a.b.c.d: icmp_seq=1 ...
2
votes
1answer
34 views

ssh -X foo@host then su bar then run X app with local display, while bar also logged in?

I want to ssh into another machine, using one user account, then su to another user and run X programs as that user, with the display on my computer. The case when the 2nd user is not logged in to X ...
4
votes
1answer
1k views

Executing commands with ssh and shell script using variables on a remote machine

I'd like to execute a command and script located on a remote machine with a script on a local machine. I know it's possible to execute these kind of commands with ssh, so I made: #!/bin/bash ssh ...
2
votes
0answers
50 views

Remote script cleaning up

I run a remote script using ssh: local script: local_command ssh -p 222 user@server 'sh -s' < ./remote_run.sh remote script: some_command & sleep 10000 trap 'echo exiting' SIGINT SIGTERM ...
2
votes
2answers
56 views

Job server with web/email interface to run remote commands

I'm looking for a solution to run remote commands for my Linux server. Unfortunately I cannot use SSH just only HTTPS (corporate firewall blocks everything different from HTTP/HTTPS on 80/443 ports). ...
1
vote
1answer
445 views

Can't connect to windows server with rdesktop - “No valid license available” error [closed]

Im using Remotedesktop Client 0.23 on Linux Mint. When im trying to connect to a windows server, I get the following error: Disconnect: No valid license available I know that I'm supposed to delete a ...
3
votes
1answer
1k views

How to use SSH to make a dd copy of disk A from host B and save on disk B?

I want to make remote backups from disk A at will using SSH from computer B. I want to save the backups to disk B. How can I do this? I've tried using $ ssh hostname@my.ip.add.ress "sudo dd ...
1
vote
3answers
198 views

Execute script on Linux Mint from a Windows Machine

Basically I am trying to use Linux Mint to display Powerpoint presentations. The presentations will be updated on a Windows machine, the user will then execute a script which 'refreshes' the ...
1
vote
1answer
205 views

How to check if the remote rsyslog client is running

At the moment I'm implementing the part of the monitoring system that is build around the rsyslog and auditd. I would like to include into the project a correct verification of the fact that remote ...
2
votes
0answers
14 views

Setting `$EDITOR` to open file in local emacs session [duplicate]

Sometimes I need to issue a remote command which uses $EDITOR to pick the, well, editor (think git commit for example). Is it possible to use the local emacs session to open it via, for example, port ...
0
votes
3answers
4k views

How to write a Java Program / Shell Script combination such that you can call the Java program as a remote command and yet supply a local file?

This is related to How to execute a remote command on a local file? I wrote a simple Java program that prints the first line of a file - import java.io.BufferedReader; import ...
1
vote
1answer
205 views

AltGr key combinations through Qtnx

I started using Qtnx, and it works great. I have a problem accessing some keyboard characters though. I am using a french keyboard (azerty-like), and every character is mapped correctly with qtnx, ...
2
votes
1answer
303 views

Copy a local file to a remote server, non-root privileges over sudo?

I'd like to do something like: scp local_file remote_server:/some_directory But in order to gain privileges to /some_directory, we need to call sudo. I know that a similar question had already been ...
0
votes
0answers
48 views

Can't print from a remote laptop. The printer connected to the desktop computer is missing and randomly appears

I've got a desktop and a laptop, both of them with Linux Mint 13 'Maya' as OS. The desktop is cable-connected to a router and the laptop has a wi-fi connection to it. The desktop computer is also ...
3
votes
1answer
471 views

Failed to check FreeRDP file descriptor

Using xfreerdp version 1.1.0: oshiro@debian:~$ xfreerdp --version This is FreeRDP version 1.1.0-beta1 (git n/a) oshiro@debian:~$ I am getting the following error message: oshiro@debian:~$ sudo ...
33
votes
1answer
2k views

redirect sound (microphone) via ssh, how to telephone via ssh?

How can I redirect the microphone of one computer to listen to it on another computer via ssh? Which is the right device or which is the right command line? Some years ago it was easy and fun to ...
1
vote
2answers
51 views

Edit mp3 tags remotely from Windows

I have a Windows desktop at home. My mp3's are on a dedicated Debian server. How do I edit the mp3 tags on the Linux server from my windows PC with a GUI software? Is there a GUI software that can ...
3
votes
2answers
5k views

Make FreeRDP prompt user for username and password?

At the moment, I'm using the following command to start an FreeRDP session: $ sudo xfreerdp /v:farm.company.com /d:company.com \ /u:oshiro /p:oshiro_password /g:rds.company.com Works fine. ...
2
votes
4answers
5k views

Running bash script on a remote Windows Machine

I am planning to run a bash script on a remote Windows system from my local Linux machine. For this purpose, I will have to log in to Windows machine from the local one and then execute the bash ...