Blame
Date:
Sun Jan 29 05:00:28 2023 UTC
Message:
Daily backup
01
2023-01-22
jrmu
version=pmwiki-2.2.130 ordered=1 urlencoded=1
02
2023-01-22
jrmu
agent=w3m/0.5.3+git20210102
03
2023-01-22
jrmu
author=jrmu
04
2023-01-22
jrmu
charset=UTF-8
05
2023-01-22
jrmu
csum=
06
2023-01-22
jrmu
ctime=1628529787
07
2023-01-22
jrmu
host=38.87.162.8
08
2023-01-22
jrmu
name=PuTTY.PuTTYgen
09
2023-01-22
jrmu
rev=9
10
2023-01-22
jrmu
targets=Sshd.Disablepassword,PuTTY.Connect
11
2023-01-22
jrmu
text=(:title Creating SSH keys with PuTTYgen:)%0a%0aAttach:puttygen.gif%0aAttach:puttygen1.mp4%0aAttach:puttygen2.mp4%0aAttach:puttygen3.mp4%0aAttach:puttygen4.mp4%0aAttach:puttygen-cc.webm%0aAttach:puttygen-cc.mp4%0aAttach:puttygen-cc.gif%0a%0a!! Generate Public/Private Key%0a%0aFor additional security, you can use a public/private key pair to login. If you disable [[sshd/disablepassword|password authentication]], your sshd setup will be more secure.%0a%0a# In the parameters field at the bottom, select the type of key to generate. This guide uses Ed25519.%0a# Click @@Generate@@\\%0aAttach:puttygen-random.png%0a# '''Optional''': In @@Key passphrase@@, provide a passphrase and write it down securely. Type the passphrase again in @@Confirm passphrase@@. '''WARNING''': If you use a passphrase, the key becomes worthless if you forget the passphrase!%0a# Click @@Save public key@@. Give it a name like @@publickey.pub@@. This key can be shared with anyone.%0a# Click @@Save private key@@. Give it a name like @@privatekey.ppk@@. Keep the private key safe; '''never''' share this key!%0a%0a'''Optional''': To export this key for another ssh client, click on @@Conversions@@ in the menu at top, then click @@Export OpenSSH key@@. Give it a name like @@private.key@@.%0a%0aYou have now generated your public and private key!%0a%0a!! Adding the Public Key%0a%0a# Connect with PuTTY using a password as described at top.%0a# Edit @@~/.ssh/authorized_keys@@:\\%0aAttach:putty-editauthorized.png%0a # Select the public key from PuTTyGen, from the field @@Public key for pasting into OpenSSH authorized keys file@@. Type @@ctrl+c@@ to copy.\\%0aAttach:putty-copyauthorized.png%0a # Paste the key into @@~/.ssh/authorized_keys@@ by pressing @@Shift+[Ins]@@.%0a # Alternatively, you can get the public key from the .ppk you created earlier. Open it with Notepad. It should look like this:%0a%0a[@%0a---- BEGIN SSH2 PUBLIC KEY ----%0aComment: "ed25519-key-20210809"%0aAAAAC3NzaC1lZDI1NTE5AAAAINCB6GpCoQPG4byfLwqHyA2SMyTV7RjfVw+bqO3h%0afTDF%0a---- END SSH2 PUBLIC KEY ----%0a@]%0a%0aIgnore the comment lines, copying only the key; join the lines together, and add @@ssh-ed25519@@ in front:%0a%0a[@%0assh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCB6GpCoQPG4byfLwqHyA2SMyTV7RjfVw+bqO3hfTDF%0a@]%0a%0a!! Logging in with Private Key%0a%0a# Open PuTTY%0a# Go to @@Connection > SSH > Auth@@%0a# In @@Private key file for authentication@@, click @@Browse@@,%0aand load your private key ('''hint''': it ends in .ppk).%0a# Click @@Session@@ and fill in @@Hostname@@ as described in the [[PuTTY/Connect|PuTTY connect guide]]. Then, click @@Open@@.%0a# If you used a passphrase for the key, type it in.\\%0aAttach:putty-keypassphrase.png%0a
12
2023-01-22
jrmu
time=1644989095
13
2023-01-22
jrmu
title=Creating SSH keys with PuTTYgen
14
2023-01-22
jrmu
author:1644989095=jrmu
15
2023-01-22
jrmu
diff:1644989095:1640004304:=8,10d7%0a%3c Attach:puttygen-cc.webm%0a%3c Attach:puttygen-cc.mp4%0a%3c Attach:puttygen-cc.gif%0a
16
2023-01-22
jrmu
host:1644989095=38.87.162.8
17
2023-01-22
jrmu
author:1640004304=jrmu
18
2023-01-22
jrmu
diff:1640004304:1637216010:=4,7c4%0a%3c Attach:puttygen1.mp4%0a%3c Attach:puttygen2.mp4%0a%3c Attach:puttygen3.mp4%0a%3c Attach:puttygen4.mp4%0a---%0a> Attach:puttygen.mp4%0a
19
2023-01-22
jrmu
host:1640004304=125.231.26.67
20
2023-01-22
jrmu
author:1637216010=jrmu
21
2023-01-22
jrmu
diff:1637216010:1637206777:=4c4,7%0a%3c Attach:puttygen.mp4%0a---%0a> Attach:puttygen1.mp4%0a> Attach:puttygen2.mp4%0a> Attach:puttygen3.mp4%0a> Attach:puttygen4.mp4%0a
22
2023-01-22
jrmu
host:1637216010=38.87.162.8
23
2023-01-22
jrmu
author:1637206777=jrmu
24
2023-01-22
jrmu
diff:1637206777:1637206628:=4,7d3%0a%3c Attach:puttygen1.mp4%0a%3c Attach:puttygen2.mp4%0a%3c Attach:puttygen3.mp4%0a%3c Attach:puttygen4.mp4%0a
25
2023-01-22
jrmu
host:1637206777=38.87.162.8
26
2023-01-22
jrmu
author:1637206628=jrmu
27
2023-01-22
jrmu
diff:1637206628:1637203484:=3c3%0a%3c Attach:puttygen.gif%0a---%0a> Attach:puttygen.mp4%0a
28
2023-01-22
jrmu
host:1637206628=38.87.162.8
29
2023-01-22
jrmu
author:1637203484=jrmu
30
2023-01-22
jrmu
diff:1637203484:1637135678:=3c3,6%0a%3c Attach:puttygen.mp4%0a---%0a> Attach:puttygen1.mp4%0a> Attach:puttygen2.mp4%0a> Attach:puttygen3.mp4%0a> Attach:puttygen4.mp4%0a
31
2023-01-22
jrmu
host:1637203484=38.87.162.8
32
2023-01-22
jrmu
author:1637135678=jrmu
33
2023-01-22
jrmu
diff:1637135678:1637134594:=3,6c3,6%0a%3c Attach:puttygen1.mp4%0a%3c Attach:puttygen2.mp4%0a%3c Attach:puttygen3.mp4%0a%3c Attach:puttygen4.mp4%0a---%0a> Attach:putty1.mp4%0a> Attach:putty2.mp4%0a> Attach:putty3.mp4%0a> Attach:putty4.mp4%0a
34
2023-01-22
jrmu
host:1637135678=38.87.162.8
35
2023-01-22
jrmu
author:1637134594=jrmu
36
2023-01-22
jrmu
diff:1637134594:1628529787:=2,6d1%0a%3c %0a%3c Attach:putty1.mp4%0a%3c Attach:putty2.mp4%0a%3c Attach:putty3.mp4%0a%3c Attach:putty4.mp4%0a
37
2023-01-22
jrmu
host:1637134594=38.87.162.8
38
2023-01-22
jrmu
author:1628529787=jrmu
39
2023-01-22
jrmu
diff:1628529787:1628529787:=1,50d0%0a%3c (:title Creating SSH keys with PuTTYgen:)%0a%3c %0a%3c !! Generate Public/Private Key%0a%3c %0a%3c For additional security, you can use a public/private key pair to login. If you disable [[sshd/disablepassword|password authentication]], your sshd setup will be more secure.%0a%3c %0a%3c # In the parameters field at the bottom, select the type of key to generate. This guide uses Ed25519.%0a%3c # Click @@Generate@@\\%0a%3c Attach:puttygen-random.png%0a%3c # '''Optional''': In @@Key passphrase@@, provide a passphrase and write it down securely. Type the passphrase again in @@Confirm passphrase@@. '''WARNING''': If you use a passphrase, the key becomes worthless if you forget the passphrase!%0a%3c # Click @@Save public key@@. Give it a name like @@publickey.pub@@. This key can be shared with anyone.%0a%3c # Click @@Save private key@@. Give it a name like @@privatekey.ppk@@. Keep the private key safe; '''never''' share this key!%0a%3c %0a%3c '''Optional''': To export this key for another ssh client, click on @@Conversions@@ in the menu at top, then click @@Export OpenSSH key@@. Give it a name like @@private.key@@.%0a%3c %0a%3c You have now generated your public and private key!%0a%3c %0a%3c !! Adding the Public Key%0a%3c %0a%3c # Connect with PuTTY using a password as described at top.%0a%3c # Edit @@~/.ssh/authorized_keys@@:\\%0a%3c Attach:putty-editauthorized.png%0a%3c # Select the public key from PuTTyGen, from the field @@Public key for pasting into OpenSSH authorized keys file@@. Type @@ctrl+c@@ to copy.\\%0a%3c Attach:putty-copyauthorized.png%0a%3c # Paste the key into @@~/.ssh/authorized_keys@@ by pressing @@Shift+[Ins]@@.%0a%3c # Alternatively, you can get the public key from the .ppk you created earlier. Open it with Notepad. It should look like this:%0a%3c %0a%3c [@%0a%3c ---- BEGIN SSH2 PUBLIC KEY ----%0a%3c Comment: "ed25519-key-20210809"%0a%3c AAAAC3NzaC1lZDI1NTE5AAAAINCB6GpCoQPG4byfLwqHyA2SMyTV7RjfVw+bqO3h%0a%3c fTDF%0a%3c ---- END SSH2 PUBLIC KEY ----%0a%3c @]%0a%3c %0a%3c Ignore the comment lines, copying only the key; join the lines together, and add @@ssh-ed25519@@ in front:%0a%3c %0a%3c [@%0a%3c ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCB6GpCoQPG4byfLwqHyA2SMyTV7RjfVw+bqO3hfTDF%0a%3c @]%0a%3c %0a%3c !! Logging in with Private Key%0a%3c %0a%3c # Open PuTTY%0a%3c # Go to @@Connection > SSH > Auth@@%0a%3c # In @@Private key file for authentication@@, click @@Browse@@,%0a%3c and load your private key ('''hint''': it ends in .ppk).%0a%3c # Click @@Session@@ and fill in @@Hostname@@ as described in the [[PuTTY/Connect|PuTTY connect guide]]. Then, click @@Open@@.%0a%3c # If you used a passphrase for the key, type it in.\\%0a%3c Attach:putty-keypassphrase.png%0a
40
2023-01-22
jrmu
host:1628529787=38.87.162.8
IRCNow