To enable SSH:
sudo apt-get install openssh-server
After instalation the SSH service should be started automatically. You can start, stop or restart the service manually:
sudo service ssh start (stop|restart)
To edit settings:
To change the port, root login permission, you have to edit the /etc/ssh/sshd_config file via:
sudo nano /etc/ssh/sshd_config
Remove # from the line 13.
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented. Uncommented options override the
11 # default value.
12
13 Port 22
14 #AddressFamily any
15 #ListenAddress 0.0.0.0
16 #ListenAddress ::
sudo apt-get install openssh-server
After instalation the SSH service should be started automatically. You can start, stop or restart the service manually:
sudo service ssh start (stop|restart)
To edit settings:
To change the port, root login permission, you have to edit the /etc/ssh/sshd_config file via:
sudo nano /etc/ssh/sshd_config
Remove # from the line 13.
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented. Uncommented options override the
11 # default value.
12
13 Port 22
14 #AddressFamily any
15 #ListenAddress 0.0.0.0
16 #ListenAddress ::