albumns
1
Hello:
I am trying to make passwordless for ssh login into localhost, but I noticed that it always failed event I didn’t do anything for setting:
>ssh localhost
ssh: connect to host localhost port 22: Connection refused
However, I don’t have any problem ssh to other machine.
Does anybody have any idea? I am using openSUSE 13.2
thank you very much.
Albert
On 2014-11-22 10:26, albumns wrote:
> However, I don’t have any problem ssh to other machine.
Because you probably did not start the sshd daemon.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Go to Yast Services Manager.
Enable the sshd service.
Start the sshd service.
Alternatively, at the command line (as root)
# systemctl start sshd.service
# systemctl enable sshd.service
The “start” will start the service for your current session.
The “enable” will cause the service to be automatically started on future boots.