Skip to content

Commit

Permalink
ssh ed255 help, more settings, nvm 10.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akrisiun committed Nov 2, 2019
1 parent 8b30586 commit dafb81d
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 9 deletions.
2 changes: 1 addition & 1 deletion NODEJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
source ~/.bashrc
export PS1="$ "
nvm -v
nvm install 10.0
nvm install 10.17.0
nvm use 10.0
node -v
Expand Down
37 changes: 37 additions & 0 deletions Ssh_ed.md
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 ~
49 changes: 41 additions & 8 deletions User/settings.json
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" ]
}

0 comments on commit dafb81d

Please sign in to comment.