Working with files, programs, etc., that are stored on a different machine
1
vote
2answers
415 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 ...
1
vote
1answer
135 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
109 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
292 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 ...
4
votes
1answer
376 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 ...
5
votes
3answers
258 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 ...
2
votes
3answers
648 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 ...
1
vote
2answers
3k 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
325 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
435 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 ...
2
votes
2answers
1k 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
266 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 ...
5
votes
1answer
587 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
377 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
819 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
738 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
1k 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
532 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
72 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
97 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?
4
votes
2answers
4k views
“Permission denied, try again” while transferring files with scp
I have two servers (A and B) and my local machine. I'm trying to transfer a file from server A to server B.
From server A:
scp ./backup.tar user@server.b:/home/public/
Permission denied, please try ...
1
vote
1answer
321 views
Need small and light stand-alone one-file ftpd server
Can somebody suggest a small one-.c-file ftpd server, so I can run it on any port and it would accept ftp upload with any l/p on that port and put a file into a folder where it runs?
No config files ...
1
vote
1answer
376 views
Copy/Backup all files except the most recent through scp
I have a program that is running on multiple machines and which is writing the results to ~/data/machine_name/, each time the results file exceeds 1MB the program moves on and write to a new file. ...
1
vote
1answer
126 views
Do we need to chmod a shell script before it can be rsh
I tried to rsh a shell script from OpenVms to a Red Hat linux. It seems that it is not executed.
I created the shell script in OpenVms and Ftp it to the linux. I then ls -la the folder in linux:
...
2
votes
2answers
105 views
How to send a prompt to a remote machine like the “you have mail”, ie not using wall
I am currently using wall to show a message on a remote machine when an activity is started and finished.
But this is intrusive, as it will write across an editor they might have open etc.
What I ...
1
vote
1answer
224 views
How to install a database dump via Shell Script?
I have a Mysql database dump. I want to install it with Hudson via a Shell Script to an external Linux machine.
How can you take a Mysql script and run it inside a database on other machine? I know I ...
2
votes
3answers
2k views
How do I only copy files to a remote folder on another server that don't already exist in the folder… from the command line in linux?
I have two folders on two different servers.
I want to sync files between A and B, however, I only want to copy files that don't already exist in folder B because these files are huge. I don't care ...
2
votes
2answers
268 views
Run ssh as a command of another ssh command
I want to run a program on a machine that I have ssh access to from a gateway machine that I can access with ssh too.
When I want to run an mpi program on the target machine T, I access to the ...
4
votes
2answers
270 views
Run mpirun and ssh-add remotely on the same session
I am developing a program that is running on multiple machines using MPI.
I have machines on Amazon EC2 where I can start mpirun from one of them (the master).
Everything works as I expect if I ssh ...
3
votes
1answer
1k 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
2answers
122 views
How can I give a very stripped down login for viewing logs?
I have various log files in folders on an RHEL 5 system:
/var/log/syslog-ng/A/
/var/log/syslog-ng/B/
/var/log/syslog-ng/C/
I would like to be able to give certain users the rights to view/tail (but ...
3
votes
1answer
775 views
Debian VNC (Remote Desktop) only allowing first connection, then turns off
Basically if I reboot the machine, I can vnc into it (using ultra vnc) but I can only do it once. It seems that the vnc daemon stops working after the first remote desktop session is closed. I have to ...
6
votes
7answers
4k views
How do I work with GUI tools over a remote server?
I have an Ubuntu server running on EC2 (which I didn't install myself, just picked up an AMI). So far I'm using putty to work with it, but I am wondering how to work on it with GUI tools (I'm not ...
3
votes
1answer
489 views
Set visible directories for SFTP access?
I am setting up SFTP access to one of my machines running Linux with the Dropbear SSH server. When I SFTP onto the machine remotely, I can see the entire filesystem on it, even if I might not have ...
6
votes
2answers
1k 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 ...
6
votes
2answers
3k views
How to debug the input from an input-device (/dev/input/event*)
I have a IR reciver that is using the imon-driver and i would like to get it working with the kernel. Right now half of the keys on the remote (image) works, but an all important think like the ...
6
votes
2answers
514 views
Linux -> linux remote X login/desktop
What are the (best) solutions for remote desktop in linux? Ideally I'd like to be able to be able to log in to a remote X (KDE) session without even logging into my local machine. Maybe if I could ...
7
votes
5answers
1k views
Easiest way to duplicate directory over FTP
I want to duplicate a directory on an FTP server I'm connected to from my Mac via the command-line
Let's say I have file. I want to have files2 with all of file's subdirectories and files, in the ...
7
votes
2answers
5k views
Starting firefox on a remote host (over ssh) opens a new window locally: what is happening?
I have never noticed this behaviour before, and am a little confused as to what is happening. I have a local copy of firefox running, then ssh (ssh -X <url>) into a remote server and start a ...
3
votes
2answers
323 views
Accessing a remote OSX system from OSX, Linux, Windows
Is it possible to connect to a remote OSX machine using OSX, Linux or Windows in a way similar to Windows' remote desktop?
11
votes
6answers
2k views
How do I copy all files and directories except certain ones over ssh?
Using the Linux command line, I use the scp command to copy up all the files and folders from a certain directory. However, I don't like to consume wasted bandwidth for copying up things I rarely ...