1. ssh localhost 或者启动start-dfs.sh/start-hbase.sh出现如下报错
ssh: connect to host localhost port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
步骤1 查看ssh服务有没有启动
root@becdadab2db1:/# /etc/init.d/ssh status
* sshd is not running
步骤2 启动ssh服务
root@becdadab2db1:/# /etc/init.d/ssh start
* Starting OpenBSD Secure Shell server sshd
即可正常使用!!!!!!!