I'm trying to install hadoop, and I need to restart the sshd service in order to configure the connection between the nodes... However, whenever I write: service sshd restart
a message error will be displayed telling me that this service is not recognized.
Any help to install this system?
The Secure Shell Daemon application (SSH daemon or sshd) is the daemon program for ssh. This program is an alternative to rlogin and rsh and provides encrypted communications between two untrusted hosts over an insecure network. The sshd is the daemon that listens for connections from clients on port 22.
In Ubuntu, install sshd client and server with these commands:
sudo apt-get install openssh-client
and
sudo apt-get install openssh-server
Then, to restart sshd, type:
sudo /etc/init.d/ssh restart
This worked for me, when I had the same problem. You can find more information here.
Try these commands:
For Debian/Ubuntu
/etc/init.d/sshd restart
For RedHat and Fedora Core Linux
/sbin/service sshd restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With