好好百科

分享有趣又有用的知识

用户工具

站点工具


侧边栏

导航菜单

archlinux:package:openssh

OpenSSH

$HOME/.ssh/config

snippet.conf
# host-specific options
Host name
    HostName <host>
    User <user>
    Port <port>
 
# global options
Host *
    LogLevel QUIET
    Compression yes
    ServerAliveInterval 60
    ServerAliveCountMax 10
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

ssh-keygen

snippet.sh
$ ssh-keygen -q -a 100 -N "" -t ed25519 -f ~/.ssh/id_ed25519 -C <COMMENT>
$ ssh-copy-id -i ~/.ssh/id_ed25519.pub <HOSTNAME>
archlinux/package/openssh.txt · 最后更改: 2019/08/30 21:14 由 老赵