connect to host localhost port 22: Connection refused
My port number is different. i tried using
ssh localhost -p 8088
this worked for me
ssh connection to host port 22 connection refused
Provide ssh-key less access to all your worker nodes in hosts file, even localhost. Read instruction in the Tutorial of How To Set Up SSH Keys on CentOS 7.
At last test access without password by ssh localhost
and ssh [yourworkernode]
.
Also, run start-dfs.sh
and if was successful run start-yarn.sh
.
Hadoop: connect to host localhost port 22: Connection refused when running start-dfs.sh
Configure "HADOOP_SSH_OPTS" in your hadoop-env.sh, to add any SSH CLI
options you need to always be present when the Hadoop scripts use SSH.
A line like 'export HADOOP_SSH_OPTS="-p "' perhaps would be what
you are looking for.
Source: Interweb
SSh: Connection refused to localhost
Don't panic! Your command is incorrect.
ssh -vvv localhost -p 8047
The parameter -p 8047
means to reach port 8047, however SSH daemon runs at port 22. The config of sshd you pasted, has already proven my assumption.
You can try to access localhost via SSH by using
ssh hduser@localhost
ssh: connect to host localhost port 2222: Connection refused
cuestion: ¿are you using NAT?... SSH listen p22 by default, if you want connection on p2222 edit the ssh_config placed in /etc/ of your VM Guest... find the line (assuming that you are in a *buntu OS family)
39 # Port 22
and change it to
39 Port 2222
and there you have it on p2222
BTW, your host could'nt see the guest by name "dvader@localhost", because "localhost" it's indeed your HOST & your GUEST maybe another IP, give more details about your VNetwork config...
Sorry for my english :)
Related Topics
Linux: Writes Are Split into 512K Chunks
Linux Script to Automate Ftp Operation
New Scala Worksheets Not Evaluated in Eclipse
Perl Fails to Set Locale Even Though It Is Installed
Combine File Modified Date and "Grep" Results Through "Find", in One Line
Is There a Command to List All Unix Group Names
Amazon Linux: "Apt-Get: Command Not Found"
How to Get My Golang Web Server to Run in the Background
How to Create Virtual Ethernet Devices in Linux
How to Read Ring Buffer Within Linux Kernel Space
Mechanism of Clipboard of Xwindow
Aslr Bits of Entropy of Mmap()
Bash: Best Architecture for Reading from Two Input Streams
How to Ignore Line Breaks in Input Using Nasm Assembly
Stty Serial Port Settings for Parity Not Persistent
How to Remove Specific Rules from Iptables
Linux Command or Script Counting Duplicated Lines in a Text File