timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

errrr, ssh

Thu Jan 08, 2015 3:19 am

Hi, I am in the process of adding certificates to all my computers and disabling ssh password access. I have successfully added the certificates such that only certain PCs can access my raspbian box - all good. Modified /etc/ssh/ssh_config to unset PasswordAuthentication then:
pi@raspbmc:~$ sudo service ssh restart
ssh: unrecognized service
pi@raspbmc:~$ sudo service sshd restart
sshd: unrecognized service
pi@raspbmc:~$ ps -e | grep ssh
pi@raspbmc:~$
Hmmmm, this sort of suggests to me that ssh is not running on this particular box. I guess I can just start the service. Nope:
pi@raspbmc:~$ sudo service ssh start
ssh: unrecognized service
pi@raspbmc:~$ sudo service sshd start
sshd: unrecognized service
Am I missing something basic here? How can I ssh into this box as it seems there is no trace of ssh!

UPDATE: It looks like I have to install ssh! Can I add an extra question or 2...how come (eg) the ssh conf file was present but not the service? Also, I am assuming then that installing the package allows me to ssh out is that right?

Cheers

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: errrr, ssh

Thu Jan 08, 2015 8:30 am

From your prompt "pi@raspbmc:~$", it looks like that is a RaspBMC install, which is slightly different to the standard Raspbian install. One of those differences is that it uses dropbear instead of the usual openssh server and client.

timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

Re: errrr, ssh

Thu Jan 08, 2015 9:15 am

okay thanks I shall investigate dropbear. I can see it in my list of processes

cheers

Return to “Raspberry Pi OS”