Hello Every one,
i would like to post an issue that i face with a code.
test_oc<-data.frame(column1=c(1,2,3),column2=c("ceci","est","un test"))
write.csv(test_oc, file="test_OC_4",na="",row.names=FALSE,quote = FALSE)
system ("ls -al")
system ("chmod 600 ~/.ssh/id_rsa2" )
system("scp -v -i id_rsa2 test_OC_4 test@.........:/home/test/Input/.")
when running the code on my machine the code is working properly .
i mean a file is generated on the server that i want.
The issue is that when a publish the code on r connect i got the following error :
Warning: Identity file id_rsa2 not accessible: No such file or directory.
Host key verification failed.
lost connection
Thank you in advance for your help.
Werner.