Skip to content

Instantly share code, notes, and snippets.

View patrickhempel's full-sized avatar

Patrick Hempel patrickhempel

  • sipgate
  • Düsseldorf, Germany
View GitHub Profile
root@live.example.com:~$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
fe:74:65:c4:55:8b:49:1c:e8:18:ef:17:e5:7e:3f:b8 root@live.example.com
ssh-keygen -t rsa 2048
#!/bin/sh
#############################################################
# compuccino - Server Synchronisierung
#############################################################
# User festlegen, mit dem synchronisiert werden soll
# Muss die entsprechenden Rechte am Ziel-Server haben
# Beispiel: User "mirror"
USER=$1