Mudando a porta padrão do servidor de SSH

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

Textos Relacionados:

Deixe um Comentário

1 Comentários.

  1. VonNaturAustreVe via Rec6 - trackback on 30 de Novembro de 2009 em 00:15

Deixe um Comentário

Trackbacks e Pingbacks:

SEO Powered by Platinum SEO from Techblissonline