Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
37 views

rsyslog: how do I set up remote logging?

I am simply trying to set up a remote logging system. I think my setup is correct but it fails and I can't get any messages from rsyslog to show up in the logs, so I can't find out why. My iptables ...
3
votes
2answers
68 views

Execute code on remote machine and copy the results back

I'm using some old Fortran code that uses some peculiar memory handling. To make the long story short, it runs on my local machine but fails on the remote one. This is why I would like to ssh to my ...
2
votes
2answers
57 views

Is it possible to see remotely what physical display is showing on linux machine without X?

We can use VNC to connect to remote X session but how can I remotely connect to that session which is displayed on physical monitor if remote linux machine does not have X installed? UPDATE to make ...
0
votes
1answer
39 views

how to reboot multiple computer using bash loop from the txt file

can anyone knows how to reboot computer in just one line code of bash (by looping itself). The details will be get from the text file which are the IP Address of each computer. When the script gets ...
0
votes
1answer
37 views

Start aplication in local desktop from remote SSH [duplicate]

I have an issue for which the work around would be to start the application in X instead of headless. How do I make sure the app is executed on the desktop, even if I run the command from a remote ssh ...
2
votes
1answer
29 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 ...
0
votes
0answers
17 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 ...
1
vote
2answers
40 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
113 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 ...
3
votes
1answer
105 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
1answer
209 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 ...
0
votes
2answers
63 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 ...
1
vote
1answer
28 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
181 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 ...
0
votes
3answers
56 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 ...
2
votes
1answer
36 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
165 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
44 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
38 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
256 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 ...
2
votes
1answer
287 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
0answers
31 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
63 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
195 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, ...
0
votes
3answers
93 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
32 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
2answers
288 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
49 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
35 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 ...
5
votes
1answer
2k 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
56 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
74 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
553 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
3k 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 ...
2
votes
2answers
221 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 ...
2
votes
1answer
293 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 ...
1
vote
3answers
247 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 ...
0
votes
0answers
56 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
427 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
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 ...
3
votes
1answer
557 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 ...
1
vote
2answers
57 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 ...
2
votes
4answers
6k 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 ...
3
votes
2answers
6k 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. ...
1
vote
3answers
151 views

How to access my linux user account from different computer?

I have a linux user account in my school computer, but something I'm unable to finish the projects in class, and I was wondering if there was a way to access my linux account from school in my ...
1
vote
0answers
35 views

Sharing content/apps between console and VNC console

I have a linux box that I use a lot from my Mac laptop (1920x1200 resolution screen) via VNC. At work, I have a dual-monitor setup for the Linux Box (1600x1200 each monitor). I use the VNC ...
1
vote
0answers
42 views

Should rpc.statd write anything into wtmp?

On several linux machines (some old custom variant of gentoo) I have huge wtmp files, up to gigabyte in size. After some experiments I know that there is rpc.statd daemon running on all servers and ...
3
votes
1answer
48 views

Cross executing binaries

I have a Linux machine that I own and administer (CLIENT). I have access to a UNIX server, with no administrative privileges at all (SERVER). Previously, I used to copy a lot of files from this ...
2
votes
1answer
97 views

Is there any convenient way to run remote program on local data?

I have two servers running Linux, namely A and B. There is a large amount of data on A, but I want to use the program x on B to process those data. It would be inefficient to transfer all data from A ...