good day dear friends,
hope youre well and all goes well at your site.
in former times i often used the putty-tool (s) for managing the ssh-keys and besides this - to encrypt and decrpyt messages that i exchange with friends
can i run all the putty things on linux too - i guess so:;
see the putty - things - as they work on the general - win architecture
https://www.digitalocean.com/communi...ion-with-putty
You might have more than one SSH key for a single cloud server, or simply more than one cloud server or Droplet that requires SSH keys to log into. This can make you feel overwhelmed with having to manage, sort out, and link all those keys to their respective servers. That?s why Pageant exists.
Pageant is a PuTTY authentication agent. It holds your private keys in memory so that you can use them whenever you are connecting to a server. It eliminates the need to:
Explicitly specify the relevant key to each Linux user account, if you use more than one account to log into a server
Type a key?s passphrase each time you log into your user account; and your keys should be passphrase protected since having an unprotected key is as good as hiding your password under your keyboard!
well again - i want to run the putty-things on my linux-notebook - can i do this too?
What is pageant for Linux? - can i do the SSH-things with Putty and Pageant on linux too?
Look forward to hear from you
update:
well i am also able to create a pgp-key on the ubuntu-notebook -
Code:
GnuPG creates a User-ID, that enables the identification of the data - identifizierbar .
i was asked the following
Ihr Name: foo
Email-Adresse: foo@_Bar.com
Sie haben diese User-ID gew?hlt:
"foo@_Bar.com
GnuPG creates a user ID to make your key identifiable.
and subsequently
Code:
Change: (N)ame, (E)mail or (F)inished/(A)ncell? Q
We need to generate a whole bunch of random values. You can help with this by typing something in an external window/console, using the mouse or using some other program.
We need to generate a whole bunch of random values. You can help with this by typing something in an external window/console, using the mouse or using some other program.
gpg: Directory /home/ubuntu/.gnupg/openpgp-revocs.d' created
gpg: Revocation certificate was created as '/home/ubuntu/.gnupg/openpgp-revocs.d/4AC2C66F5974E0D970F9E3669B6ddddffddddd.rev' saved.
Public and secret keys generated and signed. q
welll - what is aimed: i want to exchange mails with my friend - so i guess i have to send him a key.. how to do that
hmm - could to securely exchange emails with my friend, i could follow these steps:
step 1. Export my Public Key
Since PGP works with a public-private key pair, i would need to share my public key with my friend. Well to do so i would need to run the following command to export it:
Code:
gpg --export -a "foo@_Bar.com" > my_public_key.asc
This will create a file called my_public_key.asc, which contains my public key in ASCII format.
step 2. Send my Public Key to my friend
in this step i would need to send my_public_key.asc to my friend via email or any other secure channel.
step 3. Import my Friend?s Public Key
my friend also needs to generate a PGP key and send his their public key. Once i have receive it, i could import it with:
Code:
gpg --import friend_public_key.asc
in the next step 4. i need to verify the Key (Optional but Recommended)
well - to ensure the key hasn?t been tampered with, i could check the so called fingerprint:
and for the conversation - now if we come to e-mail exchange:
the important step 5. how ot encrypt a Message for my Friend
well to send an encrypted message, i would use:
and last but not least in the six step 6. how to decrypt the messages from my Friend
well - after my friend sends me an encrypted message, i would be able to decrypt it using:
Code:
gpg --decrypt message.txt.asc
This will display the decrypted text.
well to sume up with all the steps i would be all set for secure email communication with my friend! 🚀
but - one question - could i do all that on other means and tools - not on the console!?
what about the usage of Putty-Pageant - graphical tools on linux.
see for example here https://www.digitalocean.com/communi...ion-with-putty
look forward to hear from you

updatE: just saw this thread - with the answer:
https://askubuntu.com/questions/1063...ther-on-ubuntu
Linux/Ubuntu Already has Everything you Need
You don't need to install anything. Putty and Pageant are windoze utilities to give windoze linuxy capabilities.
To set up authentication for ssh on your linux box, you will need to work in your .ssh folder in your home folder. Here is a helpful link for setting up and understanding ssh and key based authentication:
SSH Essentials: Working with SSH Servers, Clients, and Keys
You might be able to avoid a lot of setup, by exporting your keys from putty, and using them on your linux machine by following the answer here:
How to convert SSH keypairs generated using PuttyGen(Windows) into key-pairs used by ssh-agent and KeyChain(Linux)
cf. https://askubuntu.com/questions/1063...ther-on-ubuntu
well -guess that i have to do all on the terminal 
update: - found some interesting articles:
a. What is pageant for Linux? Saving SSH private key passwords
https://unix.stackexchange.com/quest...-key-passwords
see also : the SeaHorse Project: https://wiki.ubuntuusers.de/Seahorse/
Well this seems to be an option ...
what do you say?
update: by the way i just have installed SeaHorse on my ubuntu-notebook
Code:
ubuntu@T420s:~$ sudo apt-get install seahorse
[sudo] Password for ubuntu:
Reading package lists... Done
Building dependency tree... Done
Reading status information... Done
seahorse is already the latest version (43.0-1build1).
seahorse was set as manually installed.
The following packages were installed automatically and are no longer needed:
grub-pc-bin libevent-2.1-7a
Use sudo apt autoremove to remove them.
0 updated, 0 newly installed, 0 to remove and 1 not updated.
ubuntu@T420s:~$
well see the check:
Code:
ubuntu@T420s:~$ seahorse -v
seahorse 43.0
GNUPG: /usr/bin/gpg (2.2.40)
ubuntu@T420s:~$
do i need to have to install something extra - eg. gnupg !? isnt it suffice if i have the graphical interface seahorse.
A friend told me that i have to do like so:
first i need to select a new PGP-Key in seahorse - hmm to generate a new key. Well what I'm a little bit curiose about is the following idea: The generate key, is this just the private one? Hmm in other words: Is it correct, that the first key i generate - is just a private key? If so, how do I create now a suitable public one?
Can you give some helping hand here!?
I need - this is at least the procedure in my mind - i need always to generate a whole keypair.
Can this be done with the SeaHorse?!
look forward to hear from you experts
meanwhile - have a great day!!