| | 89 | === SSH Enabling |
| | 90 | 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. |
| | 91 | |
| | 92 | The {{{openssh-server}}} package provides an ssh daemon suitable for secure shell (ssh) and secure copy (scp): |
| | 93 | {{{ |
| | 94 | #!bash |
| | 95 | apt-get install openssh-server |
| | 96 | }}} |
| | 97 | |
| | 98 | To enable root ssh capability, which is disabled by default, do the following: |
| | 99 | |
| | 100 | Edit /etc/ssh/sshd_config, and make sure the following line is commented out: |
| | 101 | {{{ |
| | 102 | #!bash |
| | 103 | PermitRootLogin prohibit-password |
| | 104 | }}} |
| | 105 | Just below it, add the following line: |
| | 106 | {{{ |
| | 107 | #!bash |
| | 108 | PermitRootLogin yes |
| | 109 | }}} |
| | 110 | Then reload SSH config: |
| | 111 | {{{ |
| | 112 | #!bash |
| | 113 | service ssh reload |
| | 114 | }}} |
| | 115 | |