Difference between revisions of "Linux Notes"

From OpenEMR Project Wiki
Line 36: Line 36:
==SSH Server==
==SSH Server==
====Configure====
====Configure====
<pre>
<pre style="font-size: 130%; margin: 0 2em 0 2em;">
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.default
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.default
sudo chmod a-w sshd_config.default
sudo chmod a-w sshd_config.default

Revision as of 13:52, 24 May 2014

Text Editors - Command Line

vim
nano
  • Derived from pico, more features than pico, easier to use than vim.
emacs




Mail Readers - Command Line

mail
mutt



Viewing Files

less [FILENAME]



FTP Servers

vsftp

proftpd



SSH Server

Configure

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.default
sudo chmod a-w sshd_config.default
sudo nano /etc/ssh/sshd_config
[Change:  PasswordAuthentication yes]
sudo restart ssh

Miscellaneous Commands

sudo reboot