Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Export SSH Auth Key

export USER_AT_HOST="your-user-name-on-host@hostname"
export PUBKEYPATH="$HOME/.ssh/id_rsa.pub"

ssh-copy-id -i "$PUBKEYPATH" "$USER_AT_HOST"
Source by code.visualstudio.com #
 
PREVIOUS NEXT
Tagged: #Export #SSH #Auth #Key
ADD COMMENT
Topic
Name
4+4 =