[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh server cambiare porta standard



# Package generated configuration file

# See the sshd_config(5) manpage for details


# What ports, IPs and protocols we listen for

Port 88

# Use these options to restrict which interfaces/protocols sshd will bind to

#ListenAddress ::

#ListenAddress 0.0.0.0

Protocol 2

# HostKeys for protocol version 2

HostKey /etc/ssh/ssh_host_rsa_key

HostKey /etc/ssh/ssh_host_dsa_key

HostKey /etc/ssh/ssh_host_ecdsa_key

#Privilege Separation is turned on for security

UsePrivilegeSeparation yes


# Lifetime and size of ephemeral version 1 server key

KeyRegenerationInterval 3600

ServerKeyBits 768


# Logging

SyslogFacility AUTH

LogLevel INFO


Il giorno 25 aprile 2016 21:00, Mario <mariogolf2@tiscali.it> ha scritto:
Il 25/04/2016 20:14, davide polimanti ha scritto:
> Si, mi loggo su tutti e due
>
> Il problema è sul raspberry
> Sshd mi risponde sia sulla 22 che sulla porta che ho impostato io
> Riavvio mi risponde solo sulla 22
>
> Mha....

bene, quindi non hai problemi di configurazioni di rete o di SSH.

E puoi usare contemporaneamente ssh su entrambi i dispositivi settati
con SSH in ascolto sulla 22.

Quindi mi sfugge un particolare: perché ritieni necessario cambiare la
porta 22 per l'ssh sul raspberry?

Puoi postare il contenuto di /etc/ssh/sshd_config del raspberry?



Reply to: