Questions tagged [remote]
"Remote" - the term could refer to resources, access, control, user, presence, etc.
629
questions
53
votes
3
answers
26k
views
Why is it not possible to use two remotes for rsync? [closed]
Note to serverfault users:
This closed question is answered here by four comments by hynekcer. It is then well accepted in other comments as a regularly answerable question. It's now being voted for ...
31
votes
8
answers
34k
views
What is a good modern parallel SSH tool? [duplicate]
I have heard that pssh and clusterssh are two popular ones, but I thought I would open it to discussion here and see what the community's experiences with these tools were? What are the gotchas? Any ...
30
votes
6
answers
109k
views
RDP file with embedded password asks for password
I've created one RDP file
full address:s:10.20.30.40
username:s:myuser
password:s:mypassword
domain:s:mydomain
When I open this file it still asks me for the password. What can I do to tell RDP ...
25
votes
4
answers
12k
views
How do I ssh on slow/flaky connections?
I am dealing with a really slow shell connection. It is in the cloud and I am very far from the server. My connection also breaks sometimes as it is over the internet and I may also be using shared ...
25
votes
9
answers
56k
views
How to remotely install Linux via SSH?
I need to remotely install Ubuntu Server 10.04 (x86) on a server currently running RHEL 3.4 (x86). I'll have to be very careful because no one can press the restart button for me if anything goes ...
20
votes
3
answers
88k
views
How to Restart explorer.exe Remotely?
I'm having big troubles with a remote server that for some reason explorer.exe crashed and, although I didn't lose remote desktop connectivity, I can't do anything. Is there a way of restarting ...
19
votes
8
answers
10k
views
Securely wipe a headless remote linux server
I'm about to terminate my relationship with my hosting provider of many years, but I'd like to securely wipe the box before I do. This is a dedicated server running Debian on a single EXT3 drive and ...
19
votes
5
answers
100k
views
Run remote powershell as administrator
Before I dive into the question, I have found several other questions that seem similar to mine, but they have not been able to solve my problem. Here are links to them:
Remotely run a script ...
18
votes
3
answers
10k
views
Let the local machine beep when some event happen on remote?
While i'm connected to a server via ssh, i want to be alerted for some events. BUT not via email.
I would rather use beep for that alert.
However, if i put beep as a reaction, it will beep on server ...
15
votes
5
answers
7k
views
What is the best way to run a remote ssh command in background but still displaying?
I need to run SSH commands remotely with the output displaying locally. But if the connection breaks I want the command to still run.
I am not talking so much about logging in and executing but doing ...
14
votes
1
answer
12k
views
How do I configure SSHd to permit a single command, without giving full login access to the user?
I am looking for best way to call remote command over SSH. I create user 'rpcall', generate new certificate and fill authorized_keys. Secure it little bit more with
from="ip",no-agent-forwarding,no-...
13
votes
4
answers
72k
views
Use Powershell to start a GUI program on a remote machine
There are two Windows 7 machines setup on the same network.
I enabled everything needed so that they could communicate with winrm.
When I run the following command:
Invoke-Command -ComputerName ...
13
votes
1
answer
44k
views
How do I setup rsyslog to send all logs to multiple remote servers?
I am trying to make rsyslog to send all logs to 2 remote servers, but it seems rsyslog only sends to the secondary server if the first one fails.
*.* @@server1
*.* @@server2
If I put the above in /...
13
votes
4
answers
16k
views
Escaping spaces in a remote path when using rsync over a remote SSH connection
When using SSH to connect rsync to a remote server, how do you escape spaces and such in the remote path? A simple backslash escapes the space for the local bash prompt, but on the remote machine the ...
10
votes
11
answers
62k
views
how to get MAC address of remote computer
I have specific situation. I want to get MAC address from a remote computer, which is not in domain. I know the hostname and IP address of the remote computer. The IP Address of my computer is 192.168....
10
votes
2
answers
13k
views
(ssh tunnel?) Access remote server with private IP through a *DIFFERENT* server with public IP
Let's assume the following hosts:
localhost : my laptop
remoteserver : a server with a public IP which runs a SSH server.
private.remoteserver : a server with a private IP which is only accessible ...
9
votes
7
answers
39k
views
Check to see if a directory exists remotely (shell script)
Is there a way to see if a directory exists on a remote server?
Perhaps there's a better way, but I'm writing an application deployment script, and I want to create a directory on a remote server if ...
9
votes
6
answers
25k
views
Cheapest way to remotely control 120v outlet via ethernet? [closed]
What is the cheapest solution to be able to remotely power cycle a regular 120V outlet via ethernet? I've seen solutions like iBoot, but they're really expensive. Is there a cheap way to remotely ...
9
votes
2
answers
41k
views
How to utilize IPMI on Windows?
My organization is primarily a Dell shop running Windows. Most are recent models that support IPMI 2.0. (Dell 1950, for example).
At a minimum I'd like to use IPMI to perform remote chassis power on/...
8
votes
8
answers
24k
views
Copying huge files between two remote machines - Efficiently
I have a shell script which keeps on copying huge files (2 GB to 5 GB) between remote systems.
Key based authentication is used with agent-forwarding and everything works.
For ex: Say the shell script ...
8
votes
5
answers
14k
views
PsExec Slow to connect when Windows Firewall Enabled
Situation:
Running PsExec takes 20 seconds with the Windows firewall active, and 1 second with it disabled.
Exceptions added to the firewall:
opened ports 135 and 445 (both tcp) as per http://...
8
votes
6
answers
37k
views
Resize /var partition on a remote system (Linux Debian Lenny)
At a server that I only have access via ssh and vnc to (which means no booting from a "live" CD/DVD is possible), I would like to shrink the partition assigned to /var (in order to free some space for ...
8
votes
7
answers
6k
views
BASH shell session logging on remote host
What's the best method of logging a BASH shell session to a file on the host machine?
The preferred output format would be equivalent to PuTTY's "printable output" log setting, as viewed by the user ...
7
votes
11
answers
4k
views
How can I remotly shutdown a windows machine
I need to shutdown and / or reboot remote system.
Can this be done remotely without physically being next to the server?
7
votes
13
answers
5k
views
Replacement for Netmeeting
We've been using Netmeeting for doing presentations with remote workers. Now that MS has disowned it (and it doesn't run on Vista - mostly), we need something else. Since Netmeeting was free, our ...
7
votes
5
answers
12k
views
LUKS Automatic unlock of with key file on remote ubuntu server
Is there a way to automatically unlock a LUKS drive at boot time with the key-file being stored on a remote machine.
The idea is to make sure servers may restart without any user input. Servers are ...
7
votes
8
answers
15k
views
remote command execution on Windows 2003 server
I have a single command that I would like to execute on a remote Windows 2003 server.
I have tried wmic, which works, but the only way to display standard output is to redirect it to a local file, ...
7
votes
5
answers
15k
views
Are there any generic KVM over IP cards/chips for motherboards without any such capability?
I have a remote server that doesn't have any IP KVM capabilities, meaning I can't remotely power cycle it or access the BIOS. I saw that ASUS offers something for their motherboards here:
http://www....
7
votes
2
answers
23k
views
Use PerfMon to connect to a Remote Computer
I want to use PerfMon to connect to a Remote Computer. What ports do I need to have open in my Firewall to be able to connect?
7
votes
1
answer
1k
views
Cannot administer services on remote Windows machine due to security issue
I have a Windows 2008 machine A with Administrator account X. I have another Windows 2008 machine B with Administrator account Y.
Both machines have an account Z, with same username and password on ...
7
votes
1
answer
8k
views
How to allow remote connections from non localhost clients with ssh remote port forwarding?
I have a system say "privatesys". I am trying to give access to its web server through a remote proxy using ssh remote port forwarding like below.
Private sys name: privatesys
Port exposed: 80
The ...
7
votes
2
answers
10k
views
Install .NET 4.6.1 remotely via powershell
I am trying to remotely install .NET framework4.6.1 on a large group of machines. I'm using powershell to remotely script this. The problem is that for whatever reason the .exe does not seem to want ...
6
votes
3
answers
539
views
Remote Desktop on the same network
I have a main server set up and staff that use laptops to come into the office and work. We have currently moved everything over onto a server setup in the office that the staff can all remote desktop ...
6
votes
9
answers
12k
views
Remote reinstall of linux over ssh
I have a small linux server that I need to reinstall linux on (Debian stable 64 bit x86).
I have physical access to the machine but it doesn't have any external devices such as a cdrom and does not ...
6
votes
1
answer
25k
views
WinRM-Service is running but can't be reached
I have a virtual testing environment for developing scripts. As .NET isn't capable of all the possibilities PowerShell offers I use Remote PowerShell Runspaces.
My problem is now, that I can't reach ...
6
votes
3
answers
4k
views
Windows 2k3 and RDP issue over Internet issue (RDP works locally)
I was asked to take a look at a family members' friends' Win2k3 server - Remote Desktop was no longer working, and they were trying to figure out why. This server is running Win2k3 SP2.
I determined ...
5
votes
6
answers
5k
views
Website responds very slow using remote database
I want two same websites to share one database. One server is in Asia, hosting a website and the database. Another server is in the US, hosting the same web via remote database. However, the web in ...
5
votes
6
answers
2k
views
Possibilities of connecting to linux box console without network
Having to manage a couple of remote dedicated servers, working with network related stuff can be quite stressful.
Is there any possible way I could connect to those boxes (possibly via third box) and ...
5
votes
3
answers
5k
views
Querying services from a remote Windows 7 PC extremely slow
When I query installed services from a remote Windows 7 PC it's very slow. With a remote Windows XP PC it's always fast.
For example, from my Windows 7 PC the command
sc \\pc1 query type= service
...
5
votes
7
answers
5k
views
Remote Desktop Problems
I rebooted our 2k3 server box, and it looks like its hanging for some reason and I can't connect via terminal services to investigate. Any suggestions to resolve this issue?
Update
Working on vpn - ...
5
votes
4
answers
17k
views
How would you remotely install software on multiple Windows XP machines?
I need to install the standalone google talk client for Windows XP. I have the googletalk-setup.exe. How would you go about installing this on 100+ Windows XP systems? Is there an automated way you ...
5
votes
5
answers
31k
views
Executing script remotely with "curl | bash" feedback
I'm working on a platform that uses a lot such commands:
ssh [email protected] 'curl http://some_server/script.sh | bash'
This is really clean and handy to execute scripts remotely, however, I don't ...
5
votes
3
answers
13k
views
Powershell: Execute exe on remote server and capture output
I am trying to script the execution of an installer on remote web servers. The installer in question is also a Windows Service that hosts NServiceBus. If RDP'd into the server, the application is ...
5
votes
4
answers
24k
views
start exe in a Remote Session with PsExec
I would like to start an application remotely. I am using the following PsExec command:
PsExec \\computerOne -u Domain\User1 -p 123456 -x "C:\Windows\System32\calc.exe"
I tried to use -i so that the ...
5
votes
1
answer
14k
views
How do i reference redirected host drives in a remote desktop session
When I remote desktop into a server, for example, local drives and mapped network drives from my host computer appear as ON . I can access these drives using Windows Explorer, but I also need to ...
4
votes
6
answers
57k
views
remotely check amount of RAM on a computer using command line
How would I remotely check the amount of RAM on a computer using command line? (Windows XP and/or windows server 2003)
4
votes
6
answers
8k
views
Any clever way to put a password in an SSH key?
My host uses passwords instead of id_rsa's to SSH in. But instead of typing the password everytime, is there a way to put the password in my .ssh/config ?
For example:
Host gravy_access
Hostname 127....
4
votes
4
answers
402
views
How to audit security on Remote Employees' PCs?
We have several remote developers who are working on our code and have access to our FTP server. Recently someone copied an infected file to the FTP server and virus spread throughout the whole FTP ...
4
votes
2
answers
2k
views
Enable Remote Login (SSH) without GUI on a Mac
I'm having an issue with my Mac where it's freezing on the initial login.
How can I enable ssh without going into system preferences, etc.
4
votes
2
answers
6k
views
Execute Powershell Add-Computer remotely via Invoke-Command
Scenario:
When executed locally on the Azure VM, succesfully adds the machine to the AD, and restarts.
$DomainName = "test.local"
$AdminUserName = "sysadmin"
$Password = <mypass>
$...