home · contact · privacy
Set empty passphrase for server ssh keys.
[config] / buster / setup_scripts / prepare_to_meet_server.sh
index 569bf74fba314c35580836eb2b6d3deeec049441..df2aa419fdda7af90bed3fd924cc0f32dcdef4cb 100755 (executable)
@@ -10,7 +10,7 @@ target="$1"
 
 # We need a public key to copy over, so generate it if not found.
 if [ ! -f ~/.ssh/id_rsa.pub ]; then
-    ssh-keygen
+    ssh-keygen -N ""
 fi
 
 # Add target to ~/.ssh/known_hosts so we don't get