Jenkins Publish over ssh authentification failed with private key

前端 未结 10 1114
小鲜肉
小鲜肉 2021-01-13 07:39

I can authenticate successfully with putty on the server with my private key and passphrase. But when I try to do it with jenkins publish o

10条回答
  •  青春惊慌失措
    2021-01-13 08:10

    Because your linux login need password, the answer is :

     1. Passphrase: your passphrase
     2. path to key: your private key path
     3. key : blank
     4. Disable exec : un-check
    

    SSH Servers

    1. Name: remote_user@remotehost.com
     2. hostname: remotehost.com
     3. Username: remote_user
     4. Remote Directory: empty
    

    Advanced --

    5. check the box "use passsword authentication, or use a different key"
        `important`
    
     6. Passphrase / Password: your linux login password`important`
    
     7. path to key: blank
    
     8. key:blank
    
     9. port: 22
    
     10. Timeout(ms): 300000
    

    'Test Configuration' success

提交回复
热议问题