Latest Server related questions

Score: 1
merlin avatar
No sys info on SSH login after disabling password login on Ubuntu 18.04
in flag

In an attempt to improve security on Ubuntu 20.04 server I disabled pw login follwing this article: https://www.cyberciti.biz/faq/how-to-disable-ssh-password-login-on-linux/

It works, but the sysinfo does not show up anymore on SSH login:

% ssh server
Last login: Sun Mar  6 21:07:05 2022 from 77.2.170.244

The steps included:

$ sudo vi /etc/ssh/sshd_config

ChallengeResponseAuthentication no
Password ...
Score: 0
Apache2 configuration to redirect requests with host being an IP
us flag

I have the following Apache2 config:

000-default.conf

<VirtualHost _default_:80>
        RewriteEngine on
        RewriteRule ^ https://example.com [END,NE,R=permanent]
</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
        SSLEngine on
        SSLCertificateFile     /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-s ...
Score: 0
Or Yaacov avatar
Fedora | how to restore iptables from specific file on boot
vn flag

I need to make ip-tables persistent on my machines. I was able to do it on Debian based systems by creating the following file which runs when my network is up:

/etc/network/if-up.d/run-iptables

#!/bin/sh
iptables-restore /etc/iptables/rules.v4

I tried to do the same on Fedora based systems (CentOS, RHEL, Fedore...) using the following file: /etc/sysconfig/network-scripts/ifup but unfourtantly it doe ...

Score: 0
M3m3l0rd avatar
Add secondary IP to ESXi host from different subnets
cn flag

I have to add a secondary IP to an ESXi host running ESXi 6.5. My objective is to allow communication between some machines running on a different local network and the VMs present inside ESXi through a secondary interface. Here is a map depicting my intention: enter image description here

As you can see, I have a primary router connected through the primary interface with 192.168.1.0/24 and I need to connect to the other netw ...

Score: 0
Arcturus avatar
Stretch Cluster File Server with Storage Replica - Partnership not reversing on failure simulation
ug flag

First off, sorry if this is the wrong place to post this.

I have a Storage Replica setup running in a MSCS Stretch Cluster configuration, two sets of two VMs with each set running on a separate ESXi host, acting as a File Server. Each set has two vhdx disks attached to them on a virtual bus share SCSI controller. Each replica source and destination disks have identical drive letters as their resp ...

Score: 0
rsync check amount of bytes deleted
tm flag

Is there a way to check how much data rsync would delete from the destination when --archive and --delete are set?

I'm trying to set up rsync to abort the operation if it is adding or deleting more than X GB. Using --dry-run --stats, I can parse out the "Total transferred file size", which tells me when I'm adding too much data, but now I'm realizing that number doesn't account for the amount of da ...

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.