Most Popular
1500 questions
111
votes
12 answers
How can I prevent the warning No xauth data; using fake authentication data for X11 forwarding?
Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning:
No xauth data; using fake authentication data for X11 forwarding.
This also happens for tools that are using ssh, like git or mercurial.
I just want to…
sorin
- 8,016
- 24
- 79
- 103
111
votes
6 answers
Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User?
This is a Canonical Question about Fighting Spam.
Also related:
How to stop people from using my domain to send spam?
What are SPF records, and how do I configure them?
There are so many techniques and so much to know about fighting SPAM.…
Chris S
- 77,945
- 11
- 124
- 216
111
votes
9 answers
How to stop people from using my domain to send spam?
I receive Mailer Daemon messages saying certain emails fail. My domain is itaccess.org which is administered by Google apps. Is there any way I can identify who is sending emails from my domain, and how they are doing it without me creating an…
Billy Moon
- 1,437
- 3
- 17
- 23
111
votes
4 answers
Tell Jenkins to run a specific project on a particular slave node
How do I tell Jenkins to run a specific project on a particular slave?
I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how to configure the project to run on the slave node I…
Lorin Hochstein
- 5,028
- 15
- 56
- 72
110
votes
3 answers
SFTP logging: is there a way?
I'm wondering if there is a way to log commands received by the server. It can be all SSH commands, as long as it includes information on commands related to file transfer.
I'm having issues with an SFTP client and the creator is asking for logs,…
Darryl Hein
- 1,712
- 2
- 19
- 21
110
votes
6 answers
Windows Server restart / shutdown history
How can I easily see a history of every time my Windows Server has restarted or shutdown and the reason why, including user-initiated, system-initiated, and system crashed?
The Windows Event Log is an obvious answer but what is the complete list of…
JohnC
- 2,604
- 3
- 14
- 16
110
votes
8 answers
Is it possible to alias a hostname in Linux?
Is it possible to alias a hostname in Linux?
It has been asked by jmillikin at various Ubuntu forums as follows:
Is it possible to create a hostname alias? Sort of like /etc/hosts,
but with other hostnames rather than IP addresses. So that with…
user10178
110
votes
5 answers
Do you need separate IPv4 and IPv6 listen directives in nginx?
I've seen various config examples for handling dual-stack IPv4 and IPv6 virtual hosts on nginx. Many suggest this pattern:
listen 80;
listen [::]:80 ipv6only=on;
As far as I can see, this achieves exactly the same thing as:
listen [::]:80…
Synchro
- 3,148
- 6
- 27
- 38
110
votes
8 answers
How to install/change locale on Debian?
I've written a web application for which the user interface is in Dutch. I use the system's date and time routines to format date strings in the application. However, the date strings that the system formats are in English but I want them in Dutch,…
Hongli Lai
- 2,222
- 4
- 23
- 27
110
votes
7 answers
How can the little guys effectively learn and use Puppet?
Six months ago, in our not-for-profit project we decided to start migrating our system management to a Puppet-controlled environment because we are expecting our number of servers to grow substantially between now and a year from now.
Since the…
drumfire
- 1,699
- 3
- 14
- 21
110
votes
10 answers
How do I update a CentOS server's time from an authoritative time server?
I have CentOS machine and each time I've noticed that the server loses correct time after a while. It is usually behind by several minutes after time passes from having manually set the correct time. Is there a mechanism whereby I can update the…
user111196
- 1,257
- 2
- 13
- 14
110
votes
9 answers
Allow SFTP but disallow SSH?
I'm starting a very little hosting company for a few friends and little clients, nothing big.
I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure and it's in my opinion obsolete.
So I'd like to…
Tommy B.
- 1,413
- 2
- 14
- 14
110
votes
20 answers
Why should I firewall servers?
PLEASE NOTE: I'm not interested in making this into a flame war! I understand that many people have strongly-held beliefs about this subject, in no small part because they've put a lot of effort into their firewalling solutions, and also because…
Ernie
- 5,352
- 6
- 31
- 37
110
votes
12 answers
How to start/stop iptables on Ubuntu?
How can I start/stop the iptables service on Ubuntu?
I have tried
service iptables stop
but it is giving "unrecognized service".
Why is it doing so? Is there any other method?
neha soni
110
votes
12 answers
How do I prevent apache from serving the .git directory?
I have started using git for deployment of websites for testing. How do I prevent apache from serving the .git directory contents?
I tried
Order deny,allow
Deny from all
with no success.
I know that…
Shoan
- 1,715
- 5
- 17
- 23