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

learn more… | top users | synonyms

1
vote
1answer
28 views

parallel file copy using tee unexpectedly slow

we're copying a large zfs snapshot (zfs send) from site-1 to site-2. site-1 and site-2 are remote, and are connected via IPsec (read: slow) on site-2, we need the data on two different zfs servers. ...
1
vote
0answers
13 views

Users in sshfs filesystem, or alternatives

I'm trying to use sshfs as a filesystem with encrypted communication. It mostly works, but I'm having some problems related to users/groups. Since I need any user to be able to access the whole ...
0
votes
2answers
991 views

Moving files from folder to folder on a remote server using SSH without downloading those to local computer

I have a remote Debian test server to which I connect via SSH (Putty client). I wanted to move a lot of files on a remote machine to another folder: remote: /mnt/a/ -> remote: /mnt/b/c/ RESULT@...
1
vote
0answers
12 views

How to set up multy-user xrdp server for 20 users that would force kill-all session created processes on disconnect?

I want to have an xrdp multy-user server that would allow 20 users to connect. I wish to kill-all session created processes (and terminate sesstion) on disconnect for each user. Is it possible with ...
-1
votes
0answers
19 views

RouterOS can't be installed on KVM hypervisor [closed]

I have installed KVM + Virtualizor on my Dedicated Server. I want to install RouterOS on a virtual machine. To do so, I created a virtual machine and mounted the RouterOS's iso file then started the ...
0
votes
1answer
51 views

Is there a BASH protection on remote copy of root files?

I am trying to use a script to bring back log to the admin. This script is send and load via mussh on the remote machine #!/bin/bash scp files.log user@user:~/ (I have also tried with sudo scp ... ...
3
votes
1answer
281 views

Copy only file details (file name, size, time) from remote machine in unix

how can we copy only file details (filename, size, time) from a remote machine in Unix? For example: I have a directory (/opt/apache/…/webapps/Context) placed on a remote machine. Now I want to copy ...
1
vote
1answer
21 views

provide internet access to an isolated remote server

Say I have a server inside a dataware house. I can connect to it remotely from my PC but it does not have Internet access. Is it possible to configure the SSH connection or any other configuration in ...
0
votes
2answers
21 views

upload files from remote VM without graphic interface to google drive

I would like to upload a zipped folder to my google drive. The file is large and takes a long time to download to my local machine and even longer to upload it to drive. I was hoping to save some ...
-2
votes
1answer
42 views

View which users exist on a remote computer?

If I have the IP address of a computer running Linux is it possible to see which user accounts exist on that computer, without having to ssh into it first?
0
votes
1answer
36 views

reverse tunnel on a multi hops ssh tunnel

I'm a windows user, that needs to access his server at home using a double hop ssh tunnel. I've configured via putty, a socks tunnel on a 2 hops ssh connection using a dynamic port, based on this ...
7
votes
1answer
3k 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 ...
1
vote
0answers
18 views

linux Remote GUI access from server

How can i get display of remote GUI ? I am using Ubuntu. What command lines should I use after ssh tunneling? i tried export DISPLAY=remote_host and tried running a CUDA,Open CV related program and ...
0
votes
1answer
23 views

remote connection config in terminator

I'm using terminator and would like it to start up pre-configured with remote connections established, I do achieve this by setting ssh user@host in the command = field in ~/.config/terminator/config ...
1
vote
0answers
17 views

Using KDE starter to start application via ssh

I would like to start VirtualBox on my server using the command ssh -X server virtualbox. This works well from a shell and asks for a login password as intended. I tried to create a KDE 4 "application ...
5
votes
3answers
374 views

How to recursively uncompress gz files on a remote host with limited commands?

I have a bunch of .jpg.gz files in a directory that I need to decompress. I know that the decompress command is: tar -xzvf FileNameHere.jpg.gz But is there a flag that you can recursively ...
0
votes
1answer
32 views

Filtering standard error output from remote BorgBackup repository

I want to filter standard error for a command that prints status information to standard error. In this case, Borg Backup. Specifically, the default output of borg check includes lines like: Checking ...
1
vote
1answer
37 views

How can I install PostgreSQL and PostGIS on Ubuntu 14.04 and enable remote access over the internet?

I would like to install PostgreSQL and PostGIS on my Ubuntu 14.04 virtual private server that is hosted in a remote datacenter. How can I enable remote access on them?
1
vote
3answers
317 views

the difference between '..' and “..” when I use ssh usr@ip 'pscp …'

My Server machine run Window,and it installed Cygwin. My Client machine run linux. In Clinent machine.I do this: [sikaiwei@login-1-2 v1.4]$ bash test.sh CHUN~19900405 sikaiwei@192.168.9.102:/ifs2/...
3
votes
1answer
21 views

Non-GUI based pin-entry for gpg

I'm in the process of remotely viewing and selecting hundreds of images, some of which are encrypted with a symmetric key. I log in to the remote desktop machine using ssh. The viewing is not fast, ...
1
vote
1answer
50 views

cannot get screen command to execute code containing DISPLAY=:0

I am trying to ssh into a remote machine and run a shell script, which opens a GUI. I want the GUI to open on the remote machine and remain open (so I am using DISPLAY=:0 nohup). I tried: ssh -t &...
1
vote
0answers
66 views

Problem with ssh connection [closed]

I need to connect to my computer via ssh. I have to use VPN, because the remote machine is my computer at my workplace. I have no problems with using VPN. So, I installed open ssh server from the ...
23
votes
3answers
33k views

How to dd a remote disk using SSH on local machine and save to a local disk

How can I create a backup of a remote disk using SSH on my local machine and save it to a local disk? I've tried the following: ssh hostname@my.ip.address "sudo dd if=/dev/sdX " | \ dd of=/home/...
0
votes
0answers
58 views

Executing remote code with arguments

Why this: ssh -i ~/.ssh/master.pem ec2-user@xx.xx.xx.xx 'bash -s' < `dirname $0`/elements/"$element" returns hostname.sh test-5000: No such file or directory when $element is not a just a single ...
2
votes
1answer
41 views

Ways to restrict remote user to only access a remote database

I want to be able to setup a remote user that can update a PostgreSQL database on a production server. I have two machines, one is a local server that I use as a command and control system, named ...
3
votes
2answers
4k 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
0answers
23 views

linux (ubuntu) graphical login from a remote computer before session is logged in

I have the ability to VNC into a remotely hosted ubuntu session with VNC after I've logged into that desktop session locally on that machine. My problem comes when I want to restart the computer (...
0
votes
0answers
52 views

Testing Remote SMTP Server Port

I am currently working in a lab environment to test a script for my production environment. My environment has several remote firewalls, all of which have an external mail Virtual IP (VIP). Our ...
2
votes
2answers
75 views

“ls” command stuck trying to list a stale mount point. How do you kill/stop it?

When working with remote filesystems such as sshfs or smbfs, it is command that they become stale due to network problems. To check if the mount is stale or not, I usually use the command ls to see if ...
0
votes
1answer
47 views

Setting up aliases with interactive ssh session [duplicate]

I need to keep ssh'ing into many-different Linux boxes (Ubuntu mostly) and every time I miss my basic aliases. Is there a way to setup aliases etc while opening an interactive ssh a machine without ...
9
votes
5answers
13k views

Open file from remote computer on host computer

I'm trying to edit a file from a remote computer connected via ssh. How can I open the remote file on my local computer to edit?
1
vote
2answers
43 views

How to treat remote txt file as stream?

A web service writes its output in a text file. I can fetch that log via: curl -u user:password -k https://log.my-app.com/log.2016-04-04.txt Yet this always only fetches a current "full" file even ...
0
votes
1answer
34 views

Is there a command-line application that combines SSH and SFTP? [duplicate]

When I'm working on some remote host via SSH, I often need to upload or download files. With my current setup, I need to switch to another terminal and conjure up rsync or sftp, which can be a pain ...
1
vote
1answer
72 views

How to show and operate a remote Linux desktop when SSH or any other remote service is unavailable? [closed]

The situation is as follows. On Monday, I need to showcase a program that needs the set-up development environment and hardware on my home system, at the university. The ISP are misbehaving and won't ...
0
votes
0answers
26 views

Email user temporary code access code when using ssh

I am looking for a way to create my own two factor authentication for ssh. After the user enters the correct login info I would like the terminal to send an email to the user that contains a code ...
0
votes
1answer
97 views

KRDC to Debian machine gives blue screen on reboot

I have two Debian machines, using XRDP on one and KRDC on the other to create an RDP connection between the two. This process works fine, until I reboot the server. Then, most often, after the server ...
0
votes
1answer
69 views

Access from unknown IP tracks to non-existent website

Just had a warning that my Gmail's been accessed from the following IP: 151.230.107.114 which routes to something called htc_frisbee.com , which doesn't appear to be a real website. Could this just be ...
1
vote
2answers
105 views

Cannot ssh without password [duplicate]

I have been trying to set up remote file copy without password between 2 Linux machines. I have appended my .ssh/id_rsa.pub from local to remote .ssh/authorized_keys. I have also set up correct file ...
0
votes
0answers
44 views

Multiple Ubuntu Server Backups

I am soon to be dealing with multiple Ubuntu 14.04 Server Installations, none of which I will have physical access to. Some will be Digital Ocean Droplets, and some Mini-Server builds. I will have ...
1
vote
1answer
278 views

Remote DLNA / UPnP Media Client / Controller

I have a MiniDLNA + Bubble UPnP Server running at home and I would like to access it remotely from my PC at work. I can check that the server is properly accessible though the Bubble UPnP App for ...
0
votes
0answers
21 views

RSH closing stderr socket with a delay?

Environment: CentOS 6.6 When running this simple test (from myclient): while true; do rsh myserver "echo OK"; done After ~500 iterations, the server runs out of ports. netstat -anp on the server ...
0
votes
2answers
35 views

How to download remotely by sending URL

I've been trying to search but keep getting results on how to remotely install Linux and how to send files to another Linux computer, and can't find what I'm trying to do. I would like to be able to ...
4
votes
6answers
7k 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
0answers
44 views

SSH over IPvanish

Hello I have been trying already for several days to access my tiny server via ssh with openVPN. Everything works fine without the VPN. I have tried all that you can find on forums...add an ip rule ,...
2
votes
0answers
19 views

Playing remote audio files over SSH [duplicate]

I am connected to a machine via SSH and I often need to listen to WAV files on that machine. I usually open another terminal window and do ssh host 'cat /path/to/sound.wav' | aplay, but that's tedious ...
3
votes
1answer
67 views

Please explain the output of ssh control command ~#

I'm trying to figure out why it is that ssh hangs on exit if, and only if, I login with the -X option and run X11 programs. I found a thread on Google groups which hints to the problem. The ...
1
vote
0answers
119 views

ssh cannot open remote window, Segmentation fault (core dumped)

Actually, the remote window can be opened, but only for a short time. I mean it is OK to open the remote window when ssh connected, but the remote window cannot be opened later, for example after 30 ...
1
vote
1answer
29 views

How to create remote repository, and update it via apt-get?

Maybe I'm not asking the proper question, but since it's something new to me here it goes: I have a remote repository with some files. Let's say, a folder in this address 89.xxx.xxx.xxx:9999/myData ...
3
votes
1answer
91 views

How can I achieve the effect of MS remote desktop on Linux?

On Windows machines, if one machine A runs the remote desktop service, and another machine B (which in fact doesn't have to be Windows) runs a remote desktop client - then the user on B can 'steal' ...
0
votes
1answer
75 views

Setup GUI via ssh

I can connect to my universitys server, where I have a virtual machine running on Debian 8.3 (as far as I can see, no additional software is installed yet). I have admin rights and can install new ...