34
votes
RDP file with embedded password asks for password
I had the issue on Windows 10 with perma asking password when I try to connect to a new machine.
First, the password line in the RDP must be named:
password 51:b:myEncryptedPassword
And the pass must ...
28
votes
Website responds very slow using remote database
How to speed up the connection between the server in the US and the database in Asia?
You probably can't. US-Asia is a long distance, and there's latency involved. Simply put: the light has a finite ...
14
votes
Website responds very slow using remote database
Does your web application make multiple separate database queries? Does one query depend on the previous query, or are there independent queries that could both be in flight in parallel to overlap ...
11
votes
RDP file with embedded password asks for password
Open the Group Policy editor (Start > Run > gpedit.msc) and navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Connection ...
9
votes
Escaping spaces in a remote path when using rsync over a remote SSH connection
The problem:
rsync over ssh uses two shells to run: one local and one remote.
The argument
[email protected]:/path/to/dest/some\ dir/ is first interpreted by your local shell. Therefore, it becomes user@...
9
votes
PsExec Slow to connect when Windows Firewall Enabled
Apparently this is an issue with the Group Policy client when enabling "Remote Service Management".
The fix is to run the following command:
netsh advfirewall firewall set rule name="Remote Service ...
9
votes
Use Powershell to start a GUI program on a remote machine
I was able to get this working using PsExec as mentioned in another answer.
Download PSTools
Unzip to C:\Windows\PSTools
Add C:\Windows\PSTools to your PATH
Get process ID of RDP session (tasklist ...
7
votes
LUKS Automatic unlock of with key file on remote ubuntu server
tang and clevis can achieve that even with encrypted root partition on CentOS 7 (and I personally use it to automate boot on my home network and at work). Have a look and check if it plugs into your ...
6
votes
Accepted
SQL Server 2016 remote access denied
Are the appropriate protocols enabled in SQL Configuration Manager? My guess is they're not. Check that first.
6
votes
Website responds very slow using remote database
You can't improve on the speed of light. {citation needed}
Instead of querying intercontinentally, you might need to look into whatever replication MySQL offers. You'd need a webserver and a database ...
5
votes
Use Powershell to start a GUI program on a remote machine
You can create a 'callable hook' on the remote machine: It's a scheduled task set to "run only when user is logged on," assigned to run under the account of the user who will be logged in upon ...
5
votes
Accepted
using named-pipes to control a remote ssh session in BASH
This was a fun one (and incredibly useful!) to noodle on. In the land of input/output redirection, there is much flexibility, and thereby several options, but here's what worked for me.
First, truly,...
4
votes
Run remote powershell as administrator
Regarding Windows Updates on remote servers, I was able to get it working by setting up a JEA endpoint on the remote server to run as a local virtual account.
From https://docs.microsoft.com/en-us/...
4
votes
Let the local machine beep when some event happen on remote?
This worked for me on both OSX and a remote unix server, beeping through the normal sound output: echo -e '\a'
beep(){ echo -e '\a';}
beep
sleep 5 & beep # beeps now
sleep 5; beep # beep in 5s
# ...
4
votes
Accepted
WinRM-Service is running but can't be reached
As discussed in the comments, local group policy is blocking the winrm quick config from creating http listener on the server - to solve this conflict.
connect to the remote server
run the group ...
4
votes
Can a hacker determine all ports forwarded for remote desktop?
Short answer. Yes
Longer answer. Services with ports open to the Internet can be discovered regardless of what port they're listening on. RDP is no exception. Port scanning is quite common.
The ...
4
votes
Accepted
MySQL hacked on AWS AMI: 'Pay to get data back' - how could this be possible and how to avoid it next time?
Security group rules show that you opened 3306 for everyone and it is dangerous.
Don't allow traffic to 3306 from everywhere.
Restrict 3306 access to known ip,s and better option is to restrict it ...
4
votes
4
votes
Accepted
Connecting to a remote mysql database using its private IP Address
It's likely that the mysql server is bound to the loopback address, either 127.0.0.1 or the ipv6 equivalent, and so you would have to open that up to the LAN network. You can check that with the ...
4
votes
Accepted
Using DD to clone a 600GB drive using SSH to remote location with only 60 GB of allocated data [server migration]
Ok, guys... finally, server migration was executed with status SUCCESS! Data copy time was aprox 5hs 30Min. Command & total time:
dd if=/dev/sda bs=5M conv=fsync status=progress | gzip -c -9 | ssh ...
3
votes
Use Powershell to start a GUI program on a remote machine
If you want to avoid RDPing to get process id in Victor's answer, you can do it by invoking query session command on the remote machine. Sample Powershell script
$user = "some_user"
$password = "...
3
votes
Accepted
Can't Remote Desktop To Hyper-V Server 2012 R2
So I found some info in regards to the issue I was having. Like suggested it is a firewall issue and for future users these are the commands I ran to disable the firewall and then add in some rules ...
3
votes
Does Windows 2012 Terminal Server enforce a connection limit based on number of license CALs?
No, there is not a connection limit based on the number of User CALs. User CALs have traditionally not been enforced. Also, the license requirements do not factor in concurrency.
A User CAL is ...
3
votes
ssh connection stopped working
You are getting a tcp timeout. No response from the sever not even connection refuse.
As your are unable to ssh to other servers too, it look like you are being blocked for outgoing 22 port somewhere ...
3
votes
Accepted
Use Powershell to run an elevated executable
You can add your admin user to local administrators with a startup script of net localgroup administrators domain\adminuser /add.
I don't think that's necessary, though. I'd think that your batch ...
3
votes
Network Administrator
I would definitely consider using a config management tool like ansible, salt, chef, or puppet (or others I can't think of just now).
If you have network access, it not only allows you to template ...
3
votes
MySQL hacked on AWS AMI: 'Pay to get data back' - how could this be possible and how to avoid it next time?
The first thing you should do to prevent this happening again is replacing every single instance of MySQL you have.
While I would recommend you not consider paying for your data, if you must, then ...
3
votes
Powershell replace host file of remote machines
I think the meat of your question is how to you copy the modified file to the remote machine. This can be accomplished over a powershell session, without any other firewall rules of file sharing.
$...
3
votes
LUKS Automatic unlock of with key file on remote ubuntu server
You have various solutions online (like here) where a small ssh server (busybox+dropbear) is included in initrd to run it at boot time before filesystem mounting and let it be contacted to provide the ...
3
votes
Execute local bash scripts on remote server but needs user input
The method you use for remote script execution generates a conflict between code and data flows. I mean... During the execution of ssh user@server 'bash -s' < $script_dir/script.sh, you allocates ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
remote × 628windows × 120
ssh × 67
linux × 55
desktop × 44
powershell × 40
remote-access × 36
remote-desktop × 34
mysql × 25
rdp × 25
backup × 22
installation × 18
ubuntu × 15
windows-server-2008 × 15
windows-server-2003 × 15
vpn × 15
networking × 14
active-directory × 14
bash × 14
centos × 13
debian × 13
windows-7 × 13
logging × 13
domain × 13
service × 12