diff --git a/home/base/desktop/ssh.nix b/home/base/desktop/ssh.nix index c46d1362..8316726d 100644 --- a/home/base/desktop/ssh.nix +++ b/home/base/desktop/ssh.nix @@ -4,12 +4,12 @@ programs.ssh = { enable = true; - # all my ssh private key are generated by `ssh-keygen -t ed25519 -C "ryan@nickname"` - # the config's format: + # All my ssh private key are generated by `ssh-keygen -t ed25519 -a 256 -C "xxx@xxx"` + # Config format: # Host — given the pattern used to match against the host name given on the command line. # HostName — specify nickname or abbreviation for host # IdentityFile — the location of your SSH key authentication file for the account. - # format in details: + # Format in details: # https://www.ssh.com/academy/ssh/config extraConfig = '' # a private key that is used during authentication will be added to ssh-agent if it is running @@ -36,18 +36,6 @@ Host s500plus HostName 192.168.5.174 Port 22 - - Host k8s-main - HostName 192.168.5.181 - ForwardAgent yes - - Host k8s-data1 - HostName 192.168.5.182 - ForwardAgent yes - - Host k8s-data2 - HostName 192.168.5.183 - ForwardAgent yes ''; }; }