Difference between revisions of "Software projects/OS/Slackware/Advanced usage/SSH"
From Pandora Wiki
Linux-SWAT (talk | contribs) |
Linux-SWAT (talk | contribs) |
||
Line 3: | Line 3: | ||
* 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. | * 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. | * 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 newer protocol | + | * 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 = | = Activate the SSH server = | ||
chmod +x /etc/rc.d/rc.sshd | chmod +x /etc/rc.d/rc.sshd | ||
/etc/rc.d/rc.sshd start | /etc/rc.d/rc.sshd start | ||
− | SSH server | + | Keys will be generated. |
+ | SSH server is now activated at each boot. | ||
= SCP = | = SCP = |
Latest revision as of 13:21, 6 May 2012
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).