From b77b339d21b102adc350b3437036cddbc642062d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 15 Jun 2018 02:34:16 +0300 Subject: .bashrc: re-introduce the ssh-copy-id alias Now I can remember what it was for. --- %HOME%/.bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '%HOME%') diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 86adec2..530d3d8 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -54,6 +54,9 @@ alias cls='echo -en "\ec"' alias copy='xclip -sel clip' +# Make sure ssh-copy-id copies public keys along with their comments. +alias ssh-copy-id='ssh-copy-id -i' + [ -r "$HOME/.bash_utils/file.sh" ] && source "$HOME/.bash_utils/file.sh" [ -r "$HOME/.bash_utils/text.sh" ] && source "$HOME/.bash_utils/text.sh" -- cgit v1.2.3