0

This question is about ssh

Hi i web server for my site, I use ssh :). I know i can port forward port 22 but is it safe enough? Let's say i use a password that takes a million years to crack or something. Will it be safe then or will someone be able to login with some trick?

Thanks

harry
  • 3

2 Answers2

1

Use keys and disable password authentication. It will get rid of most of the authentication attempts and you are safe enough. SSH protocol itself is secure.

Jakuje
  • 6,793
0

It is always a good idea to change de default port 22 to another one.

Under linux, edit this file /etc/ssh/sshd_config, change the port number by editing this line Port 22, save and restart SSH /etc/init.d/ssh restart

David
  • 1