Tagged Questions

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

learn more… | top users | synonyms

2
votes
3answers
855 views

How can I securely login remotely to my Linux box over the internet?

I'm pretty much a Linux beginner, but this question has been on my mind. What's the simplest, most secure way to connect to my computer at home from work or from the library, &c? I'm running Mint ...
1
vote
1answer
238 views

Can SSH-Agent work from a remote bash script?

Server A needs to connect over svn+ssh to Server B to grab some source files for deploying on Server A. My deployment script runs from my local dev machine via: ssh serverA 'bash -s' < deploy.sh ...
2
votes
2answers
942 views

Printing a file from local computer using printer connected to remote server

On the remote server, I use lp command to print documents. I can connect to this server through SSH. How can I print a file directly from my local computer using that printer?
2
votes
4answers
254 views

How to restore data atomically on a remote server?

I want to be able to backup and restore my home directory of a remote account. The command I use are: Backup ssh myuser@myuser.server.com "tar jcf - ." > backup.tar.bz2 Restore cat ...
1
vote
3answers
1k views

How to automatically mount remote directories on login / startup

Everytime I boot, I use sshfs to mount remote directories. I am thinking to put these short commands in my .bashrc, but that does not seem to be The Right Way™. What is the proper way to run sshfs on ...
3
votes
1answer
833 views

How to disable remote access on a linux distribution?

So I've read in Mark Sobell's book on Linux, that Linux by default is open to remote administration. Now seen as I'm running a Fedora 17, on a laptop I never have to administrate anything on remotely, ...
5
votes
2answers
980 views

Can I start my main desktop graphical session remotely?

So my workstation at work got rebooted and I'm currently not logged in physically there with a graphical session. I have ssh access to it, and I can start a new X windows session and use my graphical ...
8
votes
3answers
2k views

How to set up “poor man's” Linux desktop cluster?

There are several small Linux/Android devices on the market with 1 GHz ARM processor, 512 MByte RAM and cca. 4 Gbyte storage for $35-$40. If I buy 5 pcs, it's only around $200. Let's say, we have ...
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: ...
4
votes
1answer
161 views

Set window manager's meta key depending on connected Xserver

Situation A linux server is running an xdm supporting XDMCP, it is connected to from various different Linux and OS X boxes using XDMCP via an X -query <server> command. Once the user is ...
2
votes
2answers
162 views

How to securely export a device (HDD)?

So I have a Scientific Linux 6.3 (RHEL clone so basically the question is Redhat related) machine called "B" (with an extra "A" HDD besides the system HDD) and a notebook with SL 6.3. They are in a ...
1
vote
1answer
403 views

remote desktop view of a Debian Lenny Machine

Let me give a summary of my project specification. I have a windows server and bunch of debian clients on the same LAN, Debian machines do not have x window system, they are bound to command line use. ...
1
vote
1answer
988 views

Safety of SMB versus SFTP

I have a server with OpenSSH enabled. I use it to make distant backups. I mainly use rsync over SSH and SFTP. I understood that these protocols are quite safe. I am interested in enabling Samba share ...
1
vote
1answer
161 views

SSH login to remote machine from another remote machine - How to manage connections?

Due to some security policy I had to ssh into a remote machine using another remote machine to which I ssh-ed. Here is the situation. I have access to BSD box at work and the access is only available ...
5
votes
1answer
1k views

Send a command from the console to a running X server

Is it possible to send a command from the console, say tty1, to the terminal currently occupied with X (in my case tty7 as I use Debian), to tell for example mplayer to play a movie? Edit - made a ...
3
votes
2answers
1k views

creating a device image for a network location

I have a dedicated ubuntu server with hetzner.de. hetzner also provides a seperate backup space accessible via samba/ftp/sftp/scp. In their support document about backups, the following line is ...
0
votes
2answers
8k views

How can I connect to a remote X server _without_ ssh?

I am very happy with ssh -X when I'm connecting to my machine over internet. But at home, I want to connect with my notebook to my desktop machine without ssh. What's the best way of doing this? (Both ...
3
votes
2answers
13k views

How to display xclock on another computer?

I want to display xclock on another computer. On my computer (111) I am able to ping the other computer (222) inside my home network: $ ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr ...
1
vote
3answers
657 views

How can I share a desktop / log in graphically for an Ubuntu that I have ssh but not console access to?

http://www.ubuntugeek.com/share-your-ubuntu-desktop-using-remote-desktop.html tells how to share a desktop by setting multiple features from within a GUI. Is there such a HOWTO that is based on ssh ...
4
votes
2answers
2k views

Two-step remote ssh without password

I'm looking to ssh from my localhost to a remote server, and from there to a remote computer. I currently have it set up so that the remote computer and remote server have passwordless ssh-ing set up ...
2
votes
2answers
12k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
8
votes
2answers
2k 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 ...
1
vote
1answer
284 views

Network Copy File With Low Overhead

We're trying to find a system to keep a pair of servers in sync, and I've looked at a million solutions. I came across incron, which seems like it would be perfect. Now, I just need a low overhead way ...
2
votes
1answer
660 views

Error mounting dir from ext4 file system

I am trying to mount a directory on a ext4 type file system onto another linux box. Both boxes are on the same network [root@localhost]# mount -o rw x.y.z.w:/home/lab /devbox mount: wrong fs type, ...
3
votes
0answers
2k 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
1answer
179 views

How to run xrestop remotely?

I need to run xrestop on a remote machine. When I connect through ssh and run xrestop I get the results for my local machine. I see that there is an option -display but I don't know how to use it. ...
2
votes
2answers
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
1answer
1k views

Where does plink (from Putty package) search for remote commands?

I need to use plink (or something similar if you have something on mind) to get the output from Debian remote machine onto my Windows box. This works e.g. in this case : plink 192.168.1.5 "ls" > ...
2
votes
1answer
823 views

See server desktop in tightVNC

I installed tightvncserver on one Linux machine and xtightvncviewer on another Linux machine. I can connect from client computer to server computer without problems. There are two problems: The ...
1
vote
1answer
206 views

AltGr key combinations through Qtnx

I started using Qtnx, and it works great. I have a problem accessing some keyboard characters though. I am using a french keyboard (azerty-like), and every character is mapped correctly with qtnx, ...
1
vote
2answers
1k 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
254 views

Reinstall Debian

I have a Debian based server but I don't have physical access to it and it doesn't have a DVD-drive or similar. I only have root access. Is it possible to format and reinstall Debian just by using the ...
2
votes
1answer
177 views

Check which network block devices are in use

How can I tell if a /dev/nbd* device is in use? Will "lsof" tell me? Or is there a better way? Is there an equivalent to "losetup -a" which will tell me the next free one?
1
vote
1answer
372 views

How to remotely control a CentOS 5.4 install

I need to support a legacy system that's running CentOS 5.4. There are errors coming up during the install and walking through the admin on the other end is quite tedious and inefficient. Does ...
5
votes
1answer
896 views

Can an eCryptfs Home Directory Be Backed Up Remotely

The main idea I want to have is a backup script run rsync to copy my /home/.Private/user directory off to another server. This would allow the backup script to have no knowledge of the data, but mean ...
6
votes
3answers
454 views

firefox process dies after ssh log out on remote machine

I need to run firefox on a remote host via ssh and keep process running even after ssh logout. I already have tried these ways: nohup firefox & screen disown -h But it seems these work only ...
5
votes
3answers
1k views

Keep running a script via ssh

ssh can use to run remote commands. ssh me@server.com 'long-script.sh' I run a long script that will take a lot of time, but I want to close my computer and keep running the script in the remote ...
2
votes
2answers
11k views

How can I get the address of my local machine?

I'm on a macbook running Lion. In Terminal I'm connected to my schools server with ssh. I navigated to a folder on the server and have a file I want to copy to my local machine, but I don't know what ...
0
votes
1answer
489 views

Mounting Remote Filesystem over SSH as a Different User

Due to a breach of security, the administrators of the work server have implemented a new method of security. To log into the server, we must log in as our own user (which has severely limited ...
6
votes
2answers
922 views

How to speed up X over fast connection ? (especially over ssh)

What are recommendations on speeding up X applications over local fast (gigabit) connections? (similar question for slow connections) Currently I'm running over ssh -Y, which is fine, but I wonder if ...
3
votes
2answers
3k views

Open GNOME session remotely through SSH

I have a laptop connected wirelessly to my home network. I'm planning on installing a CentOS server on my network, used for a web server, a file server, and experimentation. I want to access it from ...
1
vote
2answers
399 views

Network file sharing with freebsd server

I have a freebsd server at home. I also have other OSes like linux and windows connected to the same network via WLAN (wifi). I want to be able to share stuff (what ever I download ;)) on my FreeBSD ...
7
votes
1answer
940 views

Transfer large files without hogging the bandwidth (is there a BITS equivalent for Linux?)

Is an implementation of Microsoft's Background Intelligent Transfer Service (BITS) available for Linux systems? I'm looking at my options for transferring large files to a remote Linux server over ...
1
vote
2answers
775 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
6answers
2k views

Remote control an Ubuntu machine from a Windows machine

How can I access and remotely control an Ubuntu 10.04 machine from my Windows XP machine. I googled this subject, and noticed that there are several options: someone people use VNC, while some use ...
1
vote
1answer
1k views

Mount a Rackspace drive in Linux

Is there any software that will allow me to mount a Rackspace drive in linux? I want to copy SQL files from my database onto my Rackspace. I have web min running a backup nightly and copying those ...
2
votes
1answer
3k views

Authenticating with x11vnc: what's the difference between -auth and -rfbauth?

I'm on xubuntu 11.10 trying to setup x11vnc server. I followed instructions here and I can connect to VNC server - but it never asks me for password! Is there a difference between these 2 options: ...
3
votes
1answer
1k views

How to enable nagios user created by yum to use check_by_ssh

I've used yum install nagios on an Amazon Linux instance, and it created a nagios user with shell /sbin/nologin and homedir /var/spool/nagios. This is the behaviour on EC2. I want to use check_by_ssh ...
2
votes
2answers
84 views

Connecting to a machine which is behind a university gateway

I have a username and password to connect to a remote machine which is behind a university gateway (using ssh). However, I don't have a username and password to connect to the gateway itself. I ...
3
votes
2answers
122 views

Symbolic Link local .jpg file to .jpg file on the internet

Is there any way to have a symbolic link that links a local .jpg file to a .jpg file on the internet in a l/unix environment?