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

learn more… | top users | synonyms

1
vote
2answers
38 views

How to pull single file from multiple similar named file using sftp

I want to pull a single file from multiple similar named file using sftp. Eg. if my remote server is having below files, file_0722_005.dat file_0722_020.dat file_0722_033.dat file_0722_0022.dat I ...
0
votes
1answer
22 views

git retains remote information from a deleted repository

I cannot clone any repository anymore. $ git clone git@bitbucket.org:myaccount/myrep.git Cloning into 'myrep'... conq: repository does not exist. fatal: Could not read from remote repository. ...
1
vote
0answers
24 views

Search multiple remote file systems at once?

Say that I've lost a particular file. I know part of the name, so I could use something like this to find it: sudo find / -iname "*filename*" ...except that I can't remember which device or server ...
1
vote
1answer
34 views

run pm2 from remote shell script

I am trying to write a script which ssh into a bunch of my servers and runs some commands to start my app. One of the commands (pm2) always says pm2: command not found. This is how I'm attempting this:...
7
votes
3answers
616 views

Can vim edit a remote file as root?

I've found this question that explains how to edit a remote file with vim using: vim scp://user@myserver[:port]//path/to/file.txt Is it possible to do this as root (via sudo) on the remote host? ...
-1
votes
1answer
44 views

Is telnet/telnet-server a remote shell?

It is always said to use Secure Shell (SSH) instead of Telnet or rsh/rcp/rlogin, for security reason. SSH and rsh are both remote shells. I wonder if telnet is also a remote shell? If yes, why is it ...
1
vote
0answers
18 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 ...
1
vote
1answer
30 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
18 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
vote
1answer
25 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
32 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
53 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 ...
1
vote
0answers
21 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
29 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
432 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 ...
1
vote
1answer
57 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?
0
votes
1answer
42 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 ...
3
votes
1answer
24 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
70 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 &...
0
votes
0answers
60 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
63 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 ...
1
vote
0answers
36 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 (...
2
votes
2answers
89 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
54 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 ...
0
votes
0answers
71 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 ...
1
vote
2answers
45 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
36 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
89 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
27 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
53 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 ... ...
1
vote
2answers
118 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
55 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 ...
0
votes
0answers
25 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
40 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 ...
1
vote
0answers
49 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
73 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
147 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
30 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 ...
0
votes
1answer
88 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 ...
3
votes
1answer
99 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' ...
1
vote
0answers
26 views

why do I get “reason is: this server does not require authentication” in xpra

I 'd like to use Xpra as described on https://help.ubuntu.com/community/Xpra. However, I'm using the Xpra Windows client to connect but it doesn't work & and I keep getting an error message "this ...
-1
votes
2answers
95 views

cannot launch konsole from xterm

I installed lxde & kde (along with konsole). now I launch xterm from a Windows host using Xlaunch(Xming) which works fine but when I want to launch konsole(my preferred shell) I get this error: :~...
1
vote
0answers
59 views

Run OpenGl program on remote server

I often use X11 forwarding (occasionally VNC) to work on a remote machine, and this has worked great. But now I need to run a program that uses a specific version of OpenGL that means it doesn't work ...
0
votes
1answer
35 views

Can I install Ubuntu into a RPi2 remotely?

One friend of mine would like to install ubuntu mate into his new Raspberri Pi 2, but he would like me to help him trough the installation steps. My problem is that I am not aware if Ubuntu can run ...
1
vote
0answers
67 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 ...
0
votes
0answers
25 views

not able to remotely display X11 applications

I have a server o which I have shell & VNC access. I don't like VNC for my X11 applications but prefer to render them on my Windows 7 system with Xming. Now, I have setup a few application ...
0
votes
0answers
44 views

why won't xpra connect from windows?

I'm having troubles with spotty connections using Xming to display X11 apps from my server (on my Win7 machione). I decided to try out Xpra. I followed the instructions on: https://help.ubuntu.com/...