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.

Free(BSD)
yt-dlp – download your data from youtube

Hi, this short article only to mention that there is a wonderful application that exists for a years for the purpose to download YOUR or maybe some other movies from youtube. I don’t want to go in to legal aspect too much, what can be downloaded from youtube, what not …

Linux
Migrate WordPress site to another hosting service.

IntroductionThis article details the migration of WordPress site (exactly this site you are now on) from one service provider to Amazon Lightsail. There might be various reason to do that (mine is outlined below) but in general I hope to share the message that especially with WordPress, migration can be …

VMware
VMware Workstation and Fusion can be installed and use for free (even for the enterprise)

For a while now, the VMware Workstation (and Fusion for MacOS) can be used without any additional fee for Personal use. That was a great Broadcom news and nice gesture from that software vendor. Recently Broadcom announced that the software will be available for all, even the commercial sector. This …