Skip to content

Error: Authentication with ssh server failed though it is in local #29

Description

@boral

System details

Output of sessioninfo::session_info()():

> sessioninfo::session_info()
- Session info -----------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 4.0.5 (2021-03-31)
 os       Windows 10 x64              
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_India.1252          
 ctype    English_India.1252          
 tz       Asia/Calcutta               
 date     2021-05-18                  

- Packages ---------------------------------------------------------------------------------------------------------
 package       * version  date       lib source                               
 analogsea       0.9.4.93 2021-05-17 [1] Github (sckott/analogsea@3bf0a49)    
 askpass         1.1      2019-01-13 [1] CRAN (R 4.0.0)                       
 cli             2.5.0    2021-04-26 [1] CRAN (R 4.0.5)                       
 credentials     1.3.0    2020-07-21 [1] CRAN (R 4.0.4)                       
 curl            4.3.1    2021-04-30 [1] CRAN (R 4.0.5)                       
 generics        0.1.0    2020-10-31 [1] CRAN (R 4.0.3)                       
 httr            1.4.2    2020-07-20 [1] CRAN (R 4.0.2)                       
 jsonlite        1.7.2    2020-12-09 [1] CRAN (R 4.0.4)                       
 lubridate       1.7.10   2021-02-26 [1] CRAN (R 4.0.4)                       
 magrittr        2.0.1    2020-11-17 [1] CRAN (R 4.0.4)                       
 openssl         1.4.4    2021-04-30 [1] CRAN (R 4.0.5)                       
 plumberDeploy   0.2.1    2021-05-17 [1] Github (meztez/plumberDeploy@78c5913)
 R6              2.5.0    2020-10-28 [1] CRAN (R 4.0.4)                       
 Rcpp            1.0.6    2021-01-15 [1] CRAN (R 4.0.4)                       
 sessioninfo     1.1.1    2018-11-05 [1] CRAN (R 4.0.0)                       
 ssh             0.8.0    2021-05-03 [1] CRAN (R 4.0.5)                       
 sys             3.4      2020-07-23 [1] CRAN (R 4.0.2)                       
 tinytex         0.31     2021-03-30 [1] CRAN (R 4.0.5)                       
 withr           2.4.2    2021-04-18 [1] CRAN (R 4.0.5)                       
 xfun            0.21     2021-02-10 [1] CRAN (R 4.0.4)                       
 yaml            2.2.1    2020-02-01 [1] CRAN (R 4.0.0)                       

[1] C:/Users/user/Documents/R/win-library/4.0
[2] C:/Program Files/R/R-4.0.5/library

Example application or steps to reproduce the problem

``` r
ssh::ssh_key_info()
#> $key
#> [1] "C:\\Users\\user\\.ssh\\id_rsa"
#> 
#> $pubkey
#> [1] "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLXwNPiQK2QZCL<hidden intentionally>"

Created on 2021-05-18 by the reprex package (v2.0.0)


$new_key
[1] "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEUjJoktL7XfYzxg<hidden intentionally>"
> id = plumberDeploy::do_provision( 'ubuntu', example = FALSE )
Error: Authentication with ssh server failed

Describe the problem in detail

Not able to do do_provision(). It is giving authentication error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions