-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssh ed255 help, more settings, nvm 10.17.0
- Loading branch information
Showing
3 changed files
with
79 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## upgrade-your-ssh-key-to-ed25519 | ||
|
||
https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54 | ||
|
||
``` | ||
export me = ? | ||
echo [email protected] | ||
echo $HOST | ||
echo $me | ||
ssh-keygen -t ed25519 -C "[email protected]" | ||
eval "$(ssh-agent -s)" | ||
ssh-add ~/.ssh/id_ed25519 | ||
nano ~/.ssh/config | ||
# file: | ||
Host * | ||
AddKeysToAgent yes | ||
IgnoreUnknown UseKeychain | ||
UseKeychain yes | ||
IdentityFile ~/.ssh/id_ed25519 | ||
IdentityFile ~/.ssh/id_rsa # Keep any old key files if you want | ||
cat ~/.ssh/id_ed25519 | ||
ssh-copy-id -f -i ~/.ssh/id_ed25519 $HOST -p 22 | ||
ssh -i ~/.ssh/id_ed25519 $HOST -p 22 -vv | ||
ssh $HOST cat ~/.ssh/authorized_keys | ||
``` | ||
|
||
Troubles | ||
1. ssh ed25519 Bad configuration option: usekeychain | ||
IgnoreUnknown UseKeychain | ||
|
||
2. Offering ED25519 public we sent a publickey packet, wait for reply ??? | ||
FIX : | ||
chmod 755 ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,50 @@ | ||
{ | ||
"remote.SSH.showLoginTerminal": true, | ||
// C:\Users\akris\AppData\Roaming\Code\User\settings.json | ||
"scm.alwaysShowActions": true, | ||
"scm.alwaysShowProviders": true, | ||
"workbench.view.alwaysShowHeaderActions": true, | ||
"workbench.startupEditor": "newUntitledFile", | ||
|
||
"debug.node.autoAttach": "on", | ||
"files.exclude": { | ||
"**/*.csproj.user": true, | ||
"**/*.exe": true, | ||
"**/*.zip": true, | ||
"**/bin/": true, | ||
"**/obj/": true, | ||
"**/node_modules/": true, | ||
"yarn.lock": true | ||
}, | ||
"terminal.integrated.shell.windows": "c:\\Program Files\\PowerShell\\6\\pwsh.exe", | ||
"terminal.integrated.rendererType": "dom", | ||
"explorer.confirmDelete": false, | ||
"git.confirmSync": false, | ||
|
||
"editor.fontFamily": "DejaVu Sans Mono for Powerline", | ||
"terminal.integrated.fontFamily": "DejaVu Sans Mono for Powerline", | ||
"terminal.integrated.shellArgs.linux": [ "zsh" ], | ||
"powershell.promptToUpdatePowerShell": false, | ||
|
||
"workbench.colorTheme": "Solarized Dark", | ||
"workbench.enableExperiments": false, | ||
"workbench.settings.enableNaturalLanguageSearch": false, | ||
"update.mode": "manual", | ||
"update.showReleaseNotes": false, | ||
"extensions.autoCheckUpdates": false, | ||
"extensions.autoUpdate": false, | ||
"git.autofetch": false, | ||
"telemetry.enableTelemetry": false, | ||
"extensions.showRecommendationsOnlyOnDemand": true, | ||
"extensions.ignoreRecommendations": true, | ||
|
||
"terminal.external.windowsExec": "powershell", | ||
"terminal.integrated.confirmOnExit": true, | ||
"terminal.integrated.splitCwd": "workspaceRoot", | ||
"debug.node.autoAttach": "off", | ||
"files.exclude": { | ||
"**/node_modules/": true, | ||
"yarn.lock": true | ||
"[jsonc]": { | ||
}, | ||
"[json]": { | ||
}, | ||
"files.associations": { | ||
"*.json": "jsonc" | ||
}, | ||
"explorer.confirmDelete": false, | ||
"terminal.integrated.fontFamily": "DejaVu Sans Mono for Powerline", | ||
"terminal.integrated.shellArgs.linux": [ "zsh" ] | ||
} |