Logowanie Linux-Linux bez potrzeby podawania hasła ( ssh ).

Logowanie za pomocą uwierzytelnienia za pomocą klucza.

Opis znajduje się tutaj. Aby nie podawać hasła należy w pierwszym kroku algorytmu wcisnąć enter gdy skrypt poprosi o hasło.

W astronomicznym skrócie (wszystko wykonujemy po stronie klienta):

ssh-keygen -t rsa
albo
ssh-keygen

ssh-copy-id -i ~/.ssh/id_dsa.pub username@serwer.wejsciowy

http://www.cyberciti.biz/faq/install-ssh-identity-key-remote-host/

keychain – ciekawy program, trzyma klucze po wylogowaniu (np. dla crona)
http://linux.die.net/man/1/keychain

Uzupełnienie:

W ubuntu (po stronie klienta) w w/w konfiguracji dostaniemy komunikat: Agent admitted failure to sign using the key. Należy wydać komendę ssh-add.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

VMware
VCF, backup configuration

Backup implementation for VMware component is fairly easy. Just the requirements is to configure SFTP server in proper way and make it network available to the VMware components. SDDC Manager and NSX Manager backup In VCF Operations it is possible to configure backup for SDDC Manager and NSX Manager. Go …

VMware
VCF Automation, fresh environment configuration with identity providers and access control.

Introduction Login Login as user admin to the Organization name: system or if selected manual: Check the connections (in Administration section), where you should see connection to the vCenter and NSX-t manager as those are provided automatically via VCF Operations: the same for VCF Instances: Also check your networking: Identity …

VMware
VCF SoS

SoS (Supportability and Serviceability) command can be used for troubleshooting purpose to generate VCF (per component) log bundle, massively enable/disable ssh service on ESXi, vCenter, password and certificates expiry status, verify cluster health and many other. while troubleshooting, the following commands can be helpful: