Questions tagged [remote]

Working through the network with files, programs, etc., that are stored on a distinct machine from the original host.

The ability to get access to a computer or a network from a remote distance. In corporations, people at branch offices, telecommuters, and people who are travelling may need access to the corporation's network.

674 questions
123
votes
5 answers

How to dd a remote disk using SSH on local machine and save to a local disk

How can I create a backup of a remote disk using SSH on my local machine and save it to a local disk? I've tried the following: ssh [email protected] "sudo dd if=/dev/sdX " | \ dd of=/home/username/Documents/filename.image` However, I…
Qu0rk
  • 1,371
  • 2
  • 10
  • 9
70
votes
9 answers

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?
Mohsen
  • 2,495
  • 4
  • 25
  • 29
60
votes
1 answer

Exactly what does rpcbind do?

According to the documentation: The rpcbind[3] utility maps RPC services to the ports on which they listen. RPC processes notify rpcbind when they start, registering the ports they are listening on and the RPC program numbers they expect to …
SivaDotRender
  • 1,187
  • 2
  • 12
  • 13
60
votes
2 answers

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 redirect sound from a remote microphone to a local…
erik
  • 16,959
  • 4
  • 32
  • 46
56
votes
4 answers

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 for windows, I think there must be a better way to…
cjburkha
  • 695
  • 1
  • 7
  • 5
52
votes
10 answers

"Invalid MIT-MAGIC-COOKIE-1 key" when trying to run program remotely

I am attempting to run an application (ParaView) in client-server mode with its graphics rendering being done on the remote (server) end. I am using SSH as my means of connecting to the server, but do not wish to use X-forwarding since it slows down…
CS6394
  • 521
  • 1
  • 4
  • 3
41
votes
6 answers

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?
masterninja01
  • 533
  • 2
  • 5
  • 7
36
votes
4 answers

How to delete a file on remote machine via SSH by using a shell script?

I am writing a shell script where I have to delete a file on a remote machine via a shell script. Manual workflow: Log on to remote machine: ssh [email protected] At the remote machine (domain), type the following commands cd…
mico
  • 701
  • 4
  • 9
  • 13
34
votes
8 answers

How to copy symlinks as symlinks from one machine to another?

Let's assume I have two identical systems. On the first system I've created a symbolic link. On the second one I want to copy that symlink via sftp and the symlink shall work the same (i.e if the symlink links to /etc/, after copying it over, only…
TheHidden
  • 788
  • 1
  • 6
  • 24
32
votes
3 answers

bash shell - ssh remote script capture output and exit code?

I wish to use shell to invoke a script on a remote server. I would like to capture the output of that script (its logging messages) and the exit code it returns. If I do this: ssh user@server /usr/local/scripts/test_ping.sh echo "$?" I get the…
mconlin
  • 453
  • 2
  • 5
  • 8
31
votes
8 answers

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 familiar with Linux UI tools, but I want to learn).…
ripper234
  • 31,063
  • 43
  • 82
  • 90
28
votes
5 answers

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 'f\n' in the file foo on my local machine. If I press…
Ole Tange
  • 33,591
  • 31
  • 102
  • 198
27
votes
10 answers

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 all the files and folders from a certain directory. However, I don't like to consume bandwidth, for copying things I rarely change like my tiny_mce folder. What's the trick to copy…
Mike McKee
23
votes
2 answers

How to debug the input from an input-device (/dev/input/event*)

I have a IR receiver 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 numeric keys doesn't! The weird think is that the…
LassePoulsen
  • 407
  • 1
  • 4
  • 10
23
votes
5 answers

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 the IP address of my local machine is. How can I…
Marty
  • 897
  • 2
  • 8
  • 14
1
2 3
44 45