Created on 03-02-2016 02:37 PM - edited 09-16-2022 03:06 AM
The HDP 2.4.0 Sandbox has instructions regarding SSH access on the welcome page:
localhost:8888 -> get started -> advanced options
The SSH port is documented to be 22. But at least in the VirtualBox version of sandbox, SSH is actually forwarded to port 2222.
Can the welcome page be fixed?
Created 03-03-2016 08:56 AM
Hello,
@Michael Häusler the splash page has been changed to identify localhost as 127.0.0.1 now as well, on new boot all machines will fetch the new splash page and port 2222 proper will be displayed in both cases ( provided they have access to github.com.
@Lester Martin the way port forwarding works is that it exposes port 22 of the sandbox machine to the outside network of your PC via port 2222.
From your command history I see that you seem to already be inside the sandbox virtual machine ([root@sandbox ~]) and therefore it's working as designed allowing you to ssh to itself from inside at port 22, but not allowing you to ssh to itself at port 2222 since that functionality is offered via Virtualbox NAT.
Sorry for the confusion caused by the web script, it should be cleared now.
Created 03-03-2016 10:05 AM
@Michael Häusler no problem, thanks for notifying us.
Created 02-21-2018 01:24 PM
Can someone please help me with the below error while moving a file from local drive to hdp?
[root@sandbox-hdp ~]# ssh root@127.0.0.1 -p 22
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is 9c:3a:83:80:2c:d5:1f:a9:41:48:68:96:4d:0f:bb:ed.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
root@127.0.0.1's password:
Last login: Fri Dec 15 17:45:44 2017 from 127.0.0.1
[root@sandbox-hdp ~]# scp -P 22 /Users/me/test/Input/movies_initial.csv.gz root@sandbox-hdp.hortonworks.com:root/Input
root@sandbox-hdp.hortonworks.com's password:
/Users/me/test/Input/movies_initial.csv.gz: No such file or directory
,I am facing the below error while moving a file from local directory(Mac) to Hortonworks. Can someone please help?
[root@sandbox-hdp ~]# ssh root@127.0.0.1 -p 22
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is 9c:3a:83:80:2c:d5:1f:a9:41:48:68:96:4d:0f:bb:ed.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
root@127.0.0.1's password:
Last login: Fri Dec 15 17:45:44 2017 from 127.0.0.1
[root@sandbox-hdp ~]# scp -P 22 /Users/me/Hadoop/Input/movies_initial.csv.gz root@sandbox-hdp.hortonworks.com:root/Input
root@sandbox-hdp.hortonworks.com's password:
/Users/me/Hadoop/Input/movies_initial.csv.gz: No such file or directory