Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 通过中间服务器从远程服务器读取数据_R_Ssh_Remote Server_Rcurl - Fatal编程技术网

R 通过中间服务器从远程服务器读取数据

R 通过中间服务器从远程服务器读取数据,r,ssh,remote-server,rcurl,R,Ssh,Remote Server,Rcurl,有两台服务器A和B 如何将数据直接读取到R 注意:我可以通过服务器连接到B,因此此帖子无法帮助: 我需要两个ssh命令 尝试以下操作:read.table(pipe('ssh hostnameA“ssh hostnameB'cat data.txt\”),header=T)我得到这个错误:权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic,password)。尝试以下操作:read.table(pipe('ssh hostnameA“ssh hostnam

有两台服务器A和B

如何将数据直接读取到R

注意:我可以通过服务器连接到B,因此此帖子无法帮助:


我需要两个ssh命令

尝试以下操作:
read.table(pipe('ssh hostnameA“ssh hostnameB'cat data.txt\”),header=T)
我得到这个错误:权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic,password)。尝试以下操作:
read.table(pipe('ssh hostnameA“ssh hostnameB'cat-data.txt\”),header=T)
我得到这个错误:权限被拒绝(公钥、gssapi keyex、带麦克风的gssapi、密码)。