Skip to content

Instantly share code, notes, and snippets.

c_black="\033[0;30m"
c_blue="\033[0;34m"
c_green="\033[0;32m"
c_cyan="\033[0;36m"
c_red="\033[0;31m"
c_purple="\033[0;35m"
c_brown="\033[0;33m"
c_light_gray="\033[0;37m"
c_dark_gray="\033[1;30m"
c_light_blue="\033[1;34m"
@SRJ9
SRJ9 / ssh-copy-id_one-line.bash
Created June 30, 2017 07:37
ssh-copy-id in one line
#!/bin/bash
sshpass -p "$PASS" ssh-copy-id $DEST_SERVER -o "StrictHostKeyChecking no"