Hello,
We are using the latest Rstudio-Connect release on our RHEL8 VM with the R 4.2.1 version.
We are trying to connect to our SFTP site ;however, we are receiving an error message as
"Error in function (type, msg, asError = True)"
Error establishing ssh connection
I checked the ports and we are able to telnet to the remote sftp site.
Below is the code snippet that we are using, are there any other ways we can connect to sftp site?
sftp_con <- sftp_connect(server = 'sftp.example.com',
username = user,
password = ***
folder = 'Folder')
sftp_files <- sftp_listfiles(sftp_con)