Picture

Samuel's Website

Configuration SSH access

Samuel Forestier — 7 April 2013
On a new Raspberry, you're able to connect through SSH on root session, we'll disable it, for security purpose.
Run this command:
# nano /etc/ssh/sshd_config
... find the line:
PermitRootLogin
Replace the "yes" by "no".

You can also change the default port of SSH.
In the same file, find:
Port
Put another value instead of "22", and restart the SSH service:
# /etc/init.d/ssh restart