Dica rápida, edite o arquivo de configuração do ssh.

# vim /etc/ssh/sshd_conf

Procure a linha Port.


# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

Na linha Port 22 basta modificar :) se quiser deixar a porta 9999 ao invés da porta default(22) basta alterar para:

#Port 9999

Após a modificação reinicie o servidor de ssh.

[]‘s

Gostou? Então compartilhe com mais pessoas:
  • Twitter
  • LinkedIn
  • Digg
  • Technorati
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • Rec6
  • FriendFeed
  • Print
  • email
  • RSS

Textos Relacionados: