Latest Server related questions

Score: 1
Use local ssh_config settings on a remote server
dk flag

Good day, friends!

I've got a locally configured ~/ssh/config file with all the hosts set up as they should. I am using them successfully when doing my ssh from the local computer like ssh dev. But when I am on a remote server I cannot do it and get this error Could not resolve hostname XYZ: Name or service not known. I have configured my local keys to be passed to remote system with ForwardAgent yes

Score: 0
Migrating services to a new GKE cluster without downtime
in flag

I'd like to upgrade my GKE cluster to enable VPC-Native networking.

For that, I'm in need of creating new GKE Cluster. While I more or less know how to migrate my own deployments there and have a general strategy to not make a disruption, one thing that I'm unable to figure out is how to migrate the traffic from one cluster to another.

Let's label the clusters as OLD-GKE one I want to migrate off of ...

Score: 0
Cannot Remote-SSH on VS-Code from a WSL2 Remote Folder
md flag

I have installed VSCode (v1.62.3) using Windows (v10.0.19043), and have installed WSL2 (ubuntu 20.04) distribution.

I reopen a folder in WSL and with WSL2 terminal i have setup my ssh keys (/home/user/.ssh/ssh-privatefile), so if i went to the WSL2 terminal within VSCode i can ssh username@IP to a linux instance just fine with a connection.

What i am trying to do from this WSL2 folder is perform  ...

Score: 0
user3256843 avatar
Best practices to troubleshoot stuck php application due to internal curl calls to unresponsive endpoints
cn flag

Recently I found myself with a website (Prestashop e-commerce on a Centos PHP-FPM /Apache / MySql machine ) that was down and not responding to web requests.

After investigation, issue was due to an API call made with php-curl towards an endpoint that was temporarily offline, inside an application PHP file that was recalled in all pages of the website.

The cURL call had been wrongly made without a C ...

Score: 0
Boppity Bop avatar
How do you profile DNS response times on CentOS8?
cn flag

I would like to know how long exactly takes a DNS response to resolve an address - so I can compare different servers (my machine (I use named), GCP DNS, other public DNS servers).

The problem is that my app needs to resolve a URL which IP has just changed inside a CDN (e.g. Cloud Flare). And I need this resolve to be as fast as possible.

So I would like to collect statistics on how fast are diff ...

Score: 0
aws - ECS capacity provider permission
bd flag

I'm trying out teraform for managing my infrastructure and got into a bit of an issue and I'm not sure what to look for.

I'm attempting to create a capacity provider for my ECS cluster however I'm getting the following error

ClientException: The capacity provider could not be created because you do not have autoscaling:CreateOrUpdateTags permissions to create tags on the Auto Scaling group

Below are my f ...

Score: 0
Piotr Płaczek avatar
Connect to en /ext host of Fortinet VPN with Ubuntu
ru flag

I have used openfrotivpn many times but I have never been able to properly configure such a vpn in the network manager.

Unfortunately, now I have to connect to host [some ip]/ext (e.x. 192.168.10.10/ext) and i can't do that even via cli. It is possible only using 'original' FortiClient.

How should I configure my network manager in this case? I want to be able to quick connect with this vpn just like ...

Score: 1
Task Scheduler GPO for purging files does not apply due to OneDrive
us flag

I am trying to create a task with the following PS script:

$locations="$env:userprofile\Desktop\New folder (2)","$env:userprofile\Desktop\New folder (3)"
$Daysback = "-30"
$CurrentDate = Get-Date
$DatetoDelete = $CurrentDate.AddDays($Daysback)
foreach ($location in $locations) {Get-ChildItem $location -Recurse | Where-Object { $_.LastWriteTime -lt $DatetoDelete } | Remove-Item}

The new folders were cr ...

Score: 0
windows remote shutdown & "The RPC server is unavailable"
ar flag

I have a windows computer in remote network, which i want to restart. I do not have physical access to that PC.

Reason for desire to restart - Remote Desktop fails to connect - endless "configuring remote session".

When I try to invoke shutdown /f /g /m \\192.168.x.x after around 30 seconds I get message "The RPC server is unavailable.(1722)"

  • I can successfully ping that remote PC
  • I was able connect to i ...
Score: 0
roediGERhard avatar
Linux equivalent to "query user /server:my-server-address"
ru flag

The command from the title displays all connected users for my terminal server. Is there an equivalent linux command to display the same information?

Score: 0
John Cena avatar
How to update Windows server 2019 desktop 1809 to 2004 on Google cloud compute engine?
jp flag

I have created one virtual machine using Google cloud compute engine.

I have researched on how to install windows 10 and I got to know that it is way more difficult to install.

Google cloud only gives the possibility to install windows server 2019 datacenter with version 1809(with desktop version). I'd like to update it to version 2004.

If it is possible. Can anyone help me?

Score: 0
Is it OK, to use iptables SNAT rule with inverted -o parameter?
cn flag

Would it be OK/reliable, to use just one rule?:

iptables -t nat -I POSTROUTING ! -o eth2 -s 192.168.10.0/24 -j SNAT --to PUBLIC_IP_ADDRESS

The BGP linux router has 25 ethernet interfaces. This iptables rule with "! -o XY" should allow the traffic to be SNATed and leave the router through all interfaces other than eth2. Behind eth2 interface, there is a local network 192.168.10.0/24 - those machine ...

Score: 0
Aditya K avatar
Can logstash "pull" data?
cn flag

I have two servers. Server A is running Elasticsearch and Logstash. Server B is running filebeat and is also the server which contains all the logs I'm trying to analyse.

Server A is behind a firewall, it can reach out to the internet, but there's no possibility of allowing any inbound traffic.

Server B is in AWS and under my control for inbound and outbound traffic.

Is there any way I can get data fro ...

Score: 0
Pantalaimon avatar
Windows 10 VPN connecting issues / service Routing And Remote Access
br flag

I've been working from home for about a year-and-a-half, and connecting to the company VPN has worked fine for the most time, except on a few occasions, that I can't really explain.

Normally my laptop is connected wirelessly to my home network, receives an IP from my firewall, and has full internet access. Connecting to the company VPN (L2TP/IPsec with PSK and l/p) works as expected.

Yesterday, I to ...

Score: 0
How does a good KMS key policy for AWS Landing Zone (Control Tower) look?
ml flag

I recently "broke" Control Tower by manually adding a KMS key to the Control Tower SNS-topics. This didn't work very well when Control Tower did a check or upgrade on the stacks. I had to remove the key and nudge some stacks to get it in a healthy state, but now the SNS-topics are unencrypted and Security Hub is unhappy.

Previously I deployed an KMS key for use on SNS-topics to all org accounts ( ...

Score: 0
Log TCP Client port on apache mod_proxy
cn flag

Using an Apache 2.4 Reverse Proxy (with mod_proxy) that connects to a backend HTTP service we have the following(simplified) series of TCP connections:

client ClientIP:random_port1 ---> <IP1:443 port> reverse_proxy <IP2:random_port2> ---> <IP3:8443 port> backend svc

We also get the following error in mod_proxy suggesting that we cannot make the second connection(IP2:random_port2 ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.