【问题标题】:I am getting error while executing script from jenkins从詹金斯执行脚本时出现错误
【发布时间】:2012-12-06 11:08:34
【问题描述】:

在 jenkins 预构建步骤中,我在执行脚本时选择了 Execute shell script on remote using ssh,但出现以下错误

cd /home/appsusr/bin; ./removetwl.sh

[ssh] Exception:java.io.FileNotFoundException: /home/appsusr/ .ssh/id_dsa (No such file directory)
com.Jcraft.jsch.JschException:java.io.filenotfoundexception: /home/aapsusr/ .ssh/id_dsa (no such file or directory)

【问题讨论】:

    标签: jenkins ssh-keys


    【解决方案1】:

    您是否在某处指定了 SSH 密钥的路径?看起来你在.ssh 之前有一个额外的空间。

    【讨论】:

    • .ssh 前没有多余的空格
    猜你喜欢
    • 1970-01-01
    • 2019-07-07
    • 1970-01-01
    • 2018-12-18
    • 2018-05-13
    • 2012-10-01
    • 2014-08-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多