40 | | The default Ubuntu BSP has SSH disabled. If access over the management port is desired the user must enable SSH using the serial console. See instructions here for enabling SSH: [wiki:malibu#SSHServer Enable SSH]. Note that the default Ubuntu BSP |
| 40 | The default Ubuntu BSP has SSH disabled. If access over the management port is desired the user must enable SSH using the serial console. See instructions below. |
| 41 | |
| 42 | The {{{openssh-server}}} package provides an ssh daemon suitable for secure shell (ssh) and secure copy (scp): |
| 43 | {{{ |
| 44 | #!bash |
| 45 | apt-get install openssh-server |
| 46 | }}} |
| 47 | |
| 48 | To enable root ssh capability, which is disabled by default, do the following: |
| 49 | |
| 50 | Edit /etc/ssh/sshd_config, and comment out the following line: |
| 51 | {{{ |
| 52 | #!bash |
| 53 | PermitRootLogin without-password |
| 54 | }}} |
| 55 | Just below it, add the following line: |
| 56 | {{{ |
| 57 | #!bash |
| 58 | PermitRootLogin yes |
| 59 | }}} |
| 60 | Then reload SSH config: |
| 61 | {{{ |
| 62 | #!bash |
| 63 | service ssh reload |
| 64 | }}} |
| 65 | |