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

learn more… | top users | synonyms

2
votes
1answer
82 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
0
votes
2answers
54 views

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

I've created a database in the remote machine. Currently, the database is empty and I need to import using a backup(.sql) file. The backup file is in my local machine, it is a 40gb file. And the ...
2
votes
1answer
75 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
30 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 ...
11
votes
4answers
3k views

Get ssh to forward signals

I want to be able to send signals (SIGINT is the most important) through ssh. This command: ssh server "sleep 1000;echo f" > foo will start sleep on server and after 1000 seconds it will put ...
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
55 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, ...
1
vote
2answers
715 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 ...
-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 ...
8
votes
2answers
2k views

How to efficiently use 3D via a remote connection?

I have one weak PC (client) but with acceptable 3D performance, and one strong PC (server) which should be capable of running an application using OpenGL twice, i.e. once locally and once remotely for ...
0
votes
0answers
22 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 ...
2
votes
6answers
6k views

How do I set time and date from the Internet?

How do I retrieve the date from the Internet and set my computer's clock, from the command line?
8
votes
3answers
30k views

Best way to mount remote folder

I have two RasberryPi running debian wheezy and I would like to mount a folder from computer A on computer B. What is the best (as in most efficient) way to do this? I can do it via SMB, but that is ...
2
votes
2answers
900 views

Remotely control an xorg session [duplicate]

Possible Duplicate: Open a window on a remote X display (why “Cannot open display”)? I have a computer running debian, connected to my TV, running an xorg session. What I want ...
1
vote
2answers
49 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
27 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 ...
3
votes
3answers
170 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). ...
0
votes
0answers
9 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?
6
votes
2answers
4k views

dot file not sourced when running a command via ssh

When I run my program interactively, it works fine: ssh somehost $ ~/some/path/somescript.py When I run my program over ssh directly, it doesn't work. The variable PYTHONPATH is not set, because ...
4
votes
3answers
11k 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. ...
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 ...
0
votes
0answers
28 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
0answers
27 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
112 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 ...
0
votes
2answers
100 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/ ...
4
votes
5answers
409 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
1answer
106 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
64 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.
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
1answer
13 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
23 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
3answers
1k views

how to run shell on a remote server with root priviledge

I want to execute a shell script on a remote server, and the script should be run by root with no password required (or use sudo in the script). Can anyone give me some suggestions?
2
votes
2answers
76 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 ...
1
vote
3answers
109 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), ...
8
votes
2answers
9k 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 ...
0
votes
0answers
93 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 ...
3
votes
1answer
114 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
1answer
445 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 ...
1
vote
3answers
2k views

Color of the fonts in my remote terminal screen when using VI in linux

I notice one of my linux remote login window shows color in VI editor interface but another window doesn't show color. These 2 windows are remotely connected to 2 different server IP addresses. May ...
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
95 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
138 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 ...
36
votes
1answer
3k 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 ...