Question
SCP file transfer between Hortonworks Sandbox to Windows local host
Hi everyone,
I just installed virtualbox ad hortonworks sanbox. I want to copy files between my local host and Sandbox using SCP. I used this command and getting errors.
[root@sandbox-hdp ~]# scp -P 2222 root@sandbox-hdp.hortonworks.com:/root/saketh/sample1.txt C:\Users\satvi\Desktop\test\sample1.txt
ssh: connect to host sandbox-hdp.hortonworks.com port 2222: Connection refused
root@sandbox-hdp ~]# scp -P 4200 root@sandbox-hdp.hortonworks.com:/root/saketh/sample1.txt C:\Users\satvi\Desktop\sample1.txt
ssh_exchange_identification: Connection closed by remote host
Thanks
Saketh

