Software projects/OS/Slackware/Advanced usage/SSH

From Pandora Wiki
Revision as of 13:21, 6 May 2012 by Linux-SWAT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Warning

  • If you use a SSH server over internet, or any other unsecured network, you have to use STRONG passwords.
  • Just to be in peace with myself: If you use a SSH server over internet, or any other unsecured network, you have to use STRONG passwords.
  • For your password, be careful of symbols, because if you plan to connect from another country, you may not have them on the keyboard.
  • Also take a look at /etc/ssh/sshd_config , and be sure that the newer protocol is used, and also straight root login is disabled.

Activate the SSH server

chmod +x /etc/rc.d/rc.sshd
/etc/rc.d/rc.sshd start

Keys will be generated. SSH server is now activated at each boot.

SCP

  • You can easily copy files in a very secure way, but i won't cover it here (for now).

SSHFS

  • You can easily mount remote folders in a very secure way, but i won't cover it here (for now).

SSH tunnel

  • You can easily forward remote applications (like VNC) in a very secure way, but i won't cover it here (for now).