From 0082a1824f224af105247038da66853deb98c941 Mon Sep 17 00:00:00 2001 From: Kaan Ceylan <70446695+kaancceylan@users.noreply.github.com> Date: Wed, 14 Sep 2022 12:38:09 +0300 Subject: [PATCH] Update remoteserverb.sh Fixed the path for the ssh-keygen command --- remoteserverb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoteserverb.sh b/remoteserverb.sh index f22b938..68ceec1 100755 --- a/remoteserverb.sh +++ b/remoteserverb.sh @@ -1,7 +1,7 @@ #!/bin/bash # generating SSH key for local user -[ -f /etc/.ssh/id_rsa ] || ssh-keygen +[ -f $HOME/.ssh/id_rsa ] || ssh-keygen # scanning hosts on $NETWORK echo enter the IP address of the network that you want to scan for available hosts