openssh:ssh-copy-id

ssh-copy-id

원격 호스트의 authorized_key 에 추가

Usage: /usr/bin/ssh-copy-id [-h|-?|-f|-n] [-i [identity_file]] [-p port] [[-o <ssh -o options>] ...] [user@]hostname
        -f: force mode -- copy keys without trying to check if they are already installed
        -n: dry run    -- no keys are actually copied
        -h|-?: print this help
 
ssh-copy-id root@192.168.0.1
  • ssh-copy-id [-h|-?|-f|-n] [-i [identity_file]] [-p port] [ [-o <ssh -o options>] …] [user@]hostname
    • -f: force mode
    • -n: dry run
    • -h: print this help
    • -?: print this help
    • -i identity_file
    • -p port
    • -o options …: ssh -o options
  • openssh/ssh-copy-id.txt
  • 마지막으로 수정됨: 2024/12/09 13:41
  • 저자 writer