ssh.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>SSH</title>
  6. <link rel="shortcut icon" href="/csh/favicon.ico" type="image/x-icon"/>
  7. <link rel="stylesheet" type="text/css" href="/csh/stylesheet.css"/>
  8. </head>
  9. <body>
  10. <header>
  11. <p><a href="/csh"><img src="/csh/homeicon" alt="csh"/></a></p>
  12. </header>
  13. <h1>Setting Up SSH</h1>
  14. <p>I have set up an <abbr title="Secure Shell">SSH</abbr> server on <a href="https://parabola.nu/">Parabola</a> and <a href="https://trisquel.info/">Trisquel</a> GNU/Linux before. I'll try to recall how I did it below, so I don't forget.</p>
  15. <h2>Trisquel</h2>
  16. <p><a href="https://trisquel.info/">Trisquel GNU/Linux</a> is based on Ubuntu 14.04 <abbr title="Long Term Support">LTS</abbr>. The method for setting up an SSH server should be the same as on Ubuntu.</p>
  17. <ol>
  18. <li><cmd>sudo apt install ssh</cmd></li>
  19. <li>Go to your router's control panel and forward port 22 from your computer.</li>
  20. </ol>
  21. <h2>Parabola</h2>
  22. <p><a href="https://parabola.nu/">Parabola GNU/Linux</a> is based on <a href="https://www.gnu.org/distros/common-distros.html#Arch">Arch GNU/Linux</a>, so setting up an SSH server should be the same as on Arch.</p>
  23. <ol>
  24. <li><cmd>pacman -S openssh</cmd></li>
  25. <li><cmd>systemctl start sshd.service</cmd></li>
  26. <li>If you want SSH enabled <em>permanently</em>: <cmd>systemctl enable sshd.service</cmd></li>
  27. <li>Go to your router's control panel and forward port 22 from your computer.</li>
  28. </ol>
  29. <hr/>
  30. <footer>
  31. <p>Last updated: 2017-12-10 14:57:14 CST.</p>
  32. <p>
  33. Copyright 2017 Caleb Herbert under the terms of the
  34. <a href="https://creativecommons.org/licenses/by/4.0/">Attribution
  35. 4.0 International</a> license.</p>
  36. </footer>
  37. </body>
  38. </html>