OVH Cloud OVH Cloud

sshd_config de mon freeBSD 5.4R

2 réponses
Avatar
David
Bonsoir,

Je ne sais pas me connecter qu'autrement que root sur mon serveur jabber
sur freeBSD 5.4R

Si je mets "PermitRootLogin no" je ne sais pas me connecter du tout du tout.

SVP, pas man sshd_config, j'ai aps troouvee la reponse.

Merci pour vos lumieres,

David

#VersionAddendum FreeBSD-20040419

Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in
/etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'no' to disable PAM authentication (via
challenge-response)
# and session processing.
#UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
PrintMotd no
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
UseDNS no
#PidFile /var/run/sshd.pid
MaxStartups 15

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server

2 réponses

Avatar
Francis Gudin
David wrote:
Bonsoir,

Je ne sais pas me connecter qu'autrement que root sur mon serveur jabber
sur freeBSD 5.4R

Si je mets "PermitRootLogin no" je ne sais pas me connecter du tout du tout.

SVP, pas man sshd_config, j'ai aps troouvee la reponse.

Merci pour vos lumieres,


Bonsoir,

Qu'est-ce qui se passe quand tu fais un "ssh -v " ?

Francis.

Avatar
Pierre Alexandre

Bonsoir,

Qu'est-ce qui se passe quand tu fais un "ssh -v " ?

Francis.


J'ai fait un cat de votre sshd_config et ca marche chez moi ;-)

Pierre