Compare commits

...

2 Commits

Author SHA1 Message Date
Darius Brown f0acc89db9
Merge 39750dfbd2 into 7a0f36f069 2024-08-19 17:32:15 -04:00
MrRedacted 39750dfbd2 Fixed issue that caused default SSH key path to fail when using SSH key setup 2022-05-19 21:02:47 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ function setup_shark(){
[[ -e $SSHKEYPATH ]] && printf "\n%s\n" "[!] $SSHKEYPATH does not exist" && sleep 2 && main_menu
fi
if [[ -z $SSHKEYPATH ]]; then
ssh-copy-id -i root@172.16.24.1
ssh-copy-id "root@172.16.24.1"
else
ssh-copy-id -i $SSHKEYPATH "root@172.16.42.1"
fi