使用一个批处理文件,我想要ssh到example@0000,然后在服务器"example@0000“中执行一个命令。我的代码如下所示: 1: @echo off3: ssh example_child@0000 #thisline can only execute once the previous ssh is terminated.在我的bat执行之前,我的<
当我使用Git时,我通常使用命令行。因此,为了将更改推送到服务器。我使用以下命令将公钥添加到SSH会话:ssh-add "D:/Dev/Books Spaces/Version Control with Git andGitHub/SSH/key"
Enter passphrase for D:/Dev