Connect remote Linux server with SSH Key and make Mac OSx alias for remote server

How To Set Up SSH Keys

About SSH Keys

SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password. You can increase security even more by protecting the private key with a passphrase.

Loading

How to Install and Configure MRTG on Ubuntu Server

This post will describe how to install and configure Tobi Oetiker’s MRTG (Multi Router Traffic Grapher) on your Ubuntu server. All steps assume that the Apache http server is installed and operating correctly. Once configured, you’ll be able to use MRTG to monitor the traffic in and out of your network using the SNMP capability in your network’s gateway\router. MRTG generates static HTML pages containing PNG images which provide a visual representation of this traffic. MRTG typically produces daily, weekly, monthly, and yearly graphs. MRTG is written in perl and works on Unix/Linux as well as Windows. MRTG is free software licensed under the GNU GPL.

Loading

Mac OS X El Capitan sisteminde e-imza hatası

Safenet tarafından üretilen Aladdin e-token kullanıyorsanız muhtemelen benim de yaşadığım sorunla karşılaşmışsınızdır.

Bu sorunun çözümünü şu şekilde sağladım.

Bu kurulumlardan sonra token’ı bilgisayarınıza taktığınızda sertifikanızı görüyor hatta e-devlete giriş yapabiliyor olacaksınız.

Loading

How do I kill another login session remotely on Ubuntu?

You can kill a Unix login session remotely by sending a hangup signal (SIGHUP) to the process running the login session. To do this, follow the steps below:

  1. Identify the shell you want to kill. To determine your current tty, from your Unix shell prompt, enter:
      tty
  2. To show all of your running processes, enter:
      ps -fu username

    Replace username with your username.

  3. You should see something like this:
      PID    TT  STAT   TIME COMMAND
      13964  v5   I      0:00 elm
      13126  ue   S      0:00 -bash (bash)
      13133  ue   R      0:00 ps x
      13335  v5   S      0:00 -bash (bash)

    In the first column, “PID” stands for “process ID”. The second column shows the tty to which your processes are connected. The dash (-) before a process name shows that the process is a login shell.

  4. To remove the remote shell, look for the processes with a dash and choose the process number that is not for your current tty. Then issue the following command:
      kill -HUP processid

    Replace processid with the process ID number you identified.

When you send a SIGHUP (by entering kill -HUP or kill -1) to a login shell, all the processes that were started in the shell will be killed as well (unless they were in the background). SIGHUP is good because it allows applications like Elm and Emacs to exit gracefully, leaving your files intact.

Note: You cannot kill processes that are running on a computer different from the one you are logged into. This rule extends to individual nodes within clusters of Unix systems as well.

Loading

Disable or Enable Apache SSL module

Disable SSL module

sudo a2dismod ssl
sudo a2dissite default-ssl
sudo service apache2 restart

Enable SSL module

sudo a2enmod ssl
sudo a2ensite default-ssl
sudo service apache2 restart

Loading

Zararlı alan adlarını dışa aktarmak

Merhaba Arkadaşlar,

Yakın zamanda yapmış olduğumuz “Zararlı Alan Adları” çalışmamıza bir katkı da KerimCan Kalıpcıoğlu arkadaşımızdan geldi. Değerli katkılarından dolayı kendisine teşekkür ediyorum.

Sayfamızda yayınladığımız Zararlı alan adlarını dışa aktarmak için bu script‘i kullanabilirsiniz.

python mal_url.py export.txt

şeklinde çalıştırmanız yeterli. Tüm listeyi text formatında kaydediyor. Nerede, nasıl kullanmak istediğiniz Sizin fantazinize kalmış artık.

İsteyen script kodunu buradan kopyalayabilir.

Loading

Nagios 4.1 installation on Ubuntu 14.04

  • Update Server
sudo apt-get update && apt-get upgrade && apt-get dist-upgrade
  • Install necessary packages
sudo apt-get install \
unzip \
wget \
build-essential \
apache2 \
apache2-utils \
php5-gd \
libgd2-xpm-dev \
libapache2-mod-php5 \
postfix \
libssl-dev
  • When postfix asks, set your mail config to match your situation.
  • If you are unsure, Internet Site is probably what you are looking for.
  • Next we will need to set up the user and group that Nagios will operate as.

Loading

OTRS Help Desk 4.0.10 Installation on Ubuntu 14.04

OTRS (Open-source Ticket Request System) – is a ticketing system which provides organized and centralized way to manage end user support requests, complaints, inquiries and other types of communications. In other words it provides end users with a single place to report issues and IT help desk with single place to respond to issues. Which provides more systematic approach to resolving reported issues, proactive prevention, time management, statistical analysis and other useful benefits.

Installation steps 

Loading

Kevin Mitnick’den Fiberoptik Kablo dinlemesi

       Dünyanın en ünlü Hacker’ı Kevin Mitnick geçen hafta yayınladığı demo videosunda fiberoptik kabloların nasıl dinlenebileceğini gösteriyor.

Video’da, piyasadan rahatlıkla temin edilebilecek aletlerle fiberoptik kablo üzerinden bir e-posta sunucusuna gönderilen mesajın kopyasını okunur şekilde ele geçirilebildiği görülmektedir.
Bu durumda hiç bir şart altında şifresiz iletişime izin verilmemesi gerektiği ve kuruluş kaynaklarının fiziksel güvenliğinin de önemi bir kez daha ortaya çıkmış oluyor.

Videoyu izlemek için tıklayın.

Loading

Install Zimbra 8.6 on Ubuntu 14.04 Server

The Zimbra Collaboration Server is a mail server, collaborative web application and a web based mail server admin console in a single application. It provides LDAP, antivirus, antispam, collaboration features and a ajax webmail client. Zimbra is easy to use for administrators as well as end users due to its fast Ajax based web interface.

Prerequisites

  • Ubuntu Server 14.04 – 64bit
  • root privileges
  • Free space 25 GB
  • RAM 4 GB

Loading