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

learn more… | top users | synonyms

2
votes
2answers
25 views

Get last commit message, author and hash using git ls-remote like command

I'm looking for a way to get three informations using git ls-remote like command. I would like to use it in a bash script running in a cron. Currently, if I do git ls-remote ...
2
votes
1answer
61 views

Best way to connect to an existing user context through SSH

What we would like to do: We have short living virtual machines for running scripts. The virtual machines are used through SSH to perform "builds" (sequence of scripts) and discarded once all the ...
2
votes
2answers
11 views

ssh and VNC connections are directed back to the original machine by dynamic DNS server

First question I've asked here so please forgive me if I accidentally break a rule. I recently set up an ssh server on my home machine, and am using ddclient to keep the dynamic DNS service at ...
0
votes
1answer
52 views

How to see a GUI program running in a remote Debian server

I connect to a Debian server using ssh -i mykey.pem username@ip. I want to install and run, for example, a browser with a GUI and see the window from my local client, how could I do it? Elinks works, ...
0
votes
2answers
43 views

import .sql file into a remote server from a local machine

How to import a sql file into a database, which is in the remote server. To be more specific, I've created a database in the remote machine. Currently, the database is empty and I need to import ...
-1
votes
0answers
31 views

Finding given word in files in remote servers

I would like to write a shell script to find a given word in list of files in all the remote servers which I mention in the shell script. Say for example I have 10 servers (a1,a2,a3....a10) and I ...
0
votes
0answers
18 views

OpenVPN Connect from a Different Network

I recently setup OpenVPN on a CentOS 6 machine. The setup went smooth and I can connect to it fine from a client computer when both computers are on the same network. I wanted to know how to make the ...
1
vote
2answers
42 views

remote shell - are there any non-ssh based alternatives?

Are there any alternative SSH servers other than SSHD? One that is not SSH based? Ideally one that can be installed from offical Debian repository, that listens on a port other than port 22. (To ...
0
votes
2answers
25 views

Save syslog from honeypot to a host virtual machine

So im making a research honeypot. The host is ubuntu 14.04. I want to store all of the logs from the honeypot ssh to the ubuntu host so the data is not lost. Does anyone know anything about this? I ...
0
votes
0answers
16 views

How do I edit files in LXC?

I have a Centos 6.6 running on lxc. I would like to edit files using Sublime or Gedit but not as a root user. Presently I do a gksudo editor and then open rootfs folder. Is there a better way of doing ...
0
votes
1answer
22 views

Modify confgs of many hosts at once [duplicate]

I use two linux machines, home pc and server. Lets say i want to modify some config files on both systems. How can i synchronize them to make these modifications ony once? Is there option to add ...
0
votes
0answers
8 views

syslog - remote logging (remote server)

I have few applications running on my machine. Example: : /var/cacti/logs/Eload1.log Whatever is written to this log i would like it to be logging/written to: @syslogserver Is this possible?
0
votes
0answers
8 views

Using snmpdf on a linux or unix machine

After searching and thrusting many different tries into play, I cannot find a command or variation of one that will print results different from: $ snmpdf -v 2c -c inserted_tries here Description ...
1
vote
0answers
25 views

Make opensuse 13.2 accept remote logging?

My question is how can one make opensuse 13.2 accept remote logging? Since it uses systemd-journal, which conflicts an installation attempt of syslog or rsyslog? Many thanks!
2
votes
1answer
98 views

ssh and run script on remote host and answer expect answer automate

The ssh from server0 to (server1,server2,server3) (no password need to SSH (trust exists between all servers and private key exists on all servers)) but a remote script on server (server1,server2 ...
1
vote
1answer
28 views

Transfer file from remote computer without console

I need help to transfer file from remote Server A to server B (login to B with Terminal (putty)), but I also need to do that in background (so I can close terminal and move away). What have I tried is ...
4
votes
5answers
352 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?
0
votes
0answers
26 views

How to access MariaDB on Debian Server from Win Machine on same network

I'm having trouble accessing my MariaDB server from my windows machine on the same network. When I try to create an ODBC connector from within MS Access using the local IP and the correct ...
1
vote
1answer
101 views

bash script problem when run from desktop launcher

I have a script which does the following: Connect via sshfs to a directory on a server Within that directory, there is an encrypted volume. Open it to the device mapper. Mount to a local directory ...
1
vote
2answers
38 views

Establish a shared terminal between two PCs through the internet

My PC and that of my friend are in two different local networks, each connected to the internet via a router, each LAN has only one IP which is temporallily allocated by the ISP. What problems do we ...
1
vote
0answers
62 views

Xorg: Connect remote display

I'd like to use laptop's monitor as second display for my main Debian workstation. I need exactly second monitor, but not Debian's X11 on laptop.
0
votes
1answer
11 views

Mysql: remote and local access

I have a gentoo where is installed a mysql server. I need a remote access to this server, so I have modified the option bind address in the file /etc/mysql/my.cnf bringing it from bindaddress: ...
2
votes
0answers
21 views

Exporting the Safari (OSX) window to a remote Linux box

I have network access to a headless Mac mini running "OS X Server" (10.6.8 Snow Leopard). Sitting on my Linux desktop (Fedora) I can execute something like: ssh myuser@imachost xeyes and get the ...
0
votes
1answer
22 views

Updating vim on remote host

I want to lead this off by saying I'm quite new to any type of server administration so please bear with me. I am currently running a shared bluehost account. The current version of vim on the ...
2
votes
1answer
71 views

Can I see remote terminal? [duplicate]

I am running a C program in a Cent OS machine. Now, the lab is locked in this weekend, but I have access to another lab of the institute. I can access the files etc. via SSH from a Mac machine in the ...
2
votes
2answers
72 views

Editing Remote Files in Git repo

I have a remote Linux machine which I use as a development server for a web application. I cannot reproduce the environment locally, the files must execute on the remote server, but I want to edit ...
0
votes
2answers
87 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/ ...
1
vote
3answers
98 views

How can I determine if an NFS remote is exporting a directory?

In my script, I have several layers of statusing: remote is available (ping) remote NFS service is active remote NFS is exporting a certain directory remote NFS is mounted (mount) For (2) and (3), ...
3
votes
1answer
108 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 ...
0
votes
0answers
86 views

VNC into login screen (instead of user's desktop)

I'm using RasPi B+ with Raspian from Noobs, lightdm, lxde There are various descriptions out there on how to set up TightVNC on a RasPi, most of them VNC into root's desktop or another ...
2
votes
1answer
64 views

What will happen if I export my $HOME variable upon login?

This is a follow up from this question: http://askubuntu.com/questions/563828/how-to-change-my-home-directory?noredirect=1#comment775654_563828 The summary is: running ubuntu 14.04 ssh'ing into it ...
2
votes
1answer
91 views

upload and dowload the files from server without giving password

I want to download the file from sever by using cron job, so I need to use scp command without giving password by keyword. How do I do so?
2
votes
1answer
132 views

Linuxfoundation LFCS cert - Exam Topics Confusion

I am preparing to take the LFCS exam on linuxfoundation and I am stuck. In the exam objectives from the Cert Guide Manual they list the topics you need to be prepared for. But a confusion arised when ...
6
votes
6answers
1k views

How can one run a program installed in one machine from another machine?

Is it possible to have, say, one machine with software installed and call that software from another machine? I thought this would be called an "application server" but by googling I find things that ...
1
vote
0answers
103 views

remote control of vlc using script over ssh

I'm trying to control vlc video playback on a remote machine using a script and remote ssh. I have machine A, which logs into machine B with this command: # sshpass -p <password> ssh ...
1
vote
0answers
161 views

Can't add keyboard layout on Debian remote desktop

I want to enable Russian keyboard layout on a Debian remote desktop (connected with Xvnc). dpkg-reconfigure keyboard-configuration changed /etc/default/keyboard as desired: # KEYBOARD CONFIGURATION ...
0
votes
1answer
412 views

“Shell connection” item disappeared from Midnight Commander menu

I have performed an upgrade of my distro (openSUSE 13.1 -> 13.2) and now no long see menu item in Midnight Commander that allows me to perform operations with remote files via SSH. Coressponding menu ...
0
votes
0answers
168 views

security level xrdp is 0 - error

I have a problem with xrdp. is very strange, because I have two accounts on the server, and one I can always access it, while another almost never. Every time I try to get in, I get these data: ...
1
vote
1answer
265 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
249 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
79 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
106 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
72 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
119 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
49 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
52 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
899 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 ...
4
votes
1answer
235 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 ...
1
vote
2answers
697 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
117 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 ...