Topic: Erreur de segmentation avec sftp-verif et à la connexion client
Bonjour,
Pourriez-vous m'aider ?
Mon OS : Linux version 2.6.26-2-686 (Debian 2.6.26-21lenny4) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25))
C'est une machine installé en serveur sans interface graphique.
Je n'ai pas eu de problème lors de l'installation avec apt-get install MySecureShell
Mais quand je fait sftp-verif j'ai ce message à la fin du rapport :
** Verifing server configuration **
Show only error(s):
Try user: root
/usr/bin/sftp-verif: line 182: 7191 Erreur de segmentation /bin/MySecureShell --configtest > /dev/null
D'autre part quand un client essaye de se connecter j'ai ce message dans /var/log/message :
May 17 16:39:36 debian-ifecil kernel: [1465220.612275] MySecureShell[7149]: segfault at 0 ip b7d8e3b3 sp bfffdcac error 4 in libc-2.7.so[b7d18000+155000]
Du côté du client le message est le suivant :
cannot initialize sftp protocole, is the host running sftp server ?
Mon fichier de configuration :
<Default>
GlobalDownload 0 #total speed download for all clients
# o -> bytes k -> kilo bytes m -> mega bytes
GlobalUpload 0 #total speed download for all clients (0 for unlimited)
Download 0 #limit speed download for each connection
Upload 0 #unlimit speed upload for each connection
StayAtHome true #limit client to his home
VirtualChroot true #fake a chroot to the home account
LimitConnection 20 #max connection for the server sftp
LimitConnectionByUser 10 #max connection for the account
LimitConnectionByIP 20 #max connection by ip for the account
Home /home/$USER #overrite home of the user but if you want you can use
# environment variable (ie: Home /home/$USER)
IdleTimeOut 5m #(in second) deconnect client is idle too long time
ResolveIP true #resolve ip to dns
# IgnoreHidden true #treat all hidden files as if they don't exist
# DirFakeUser true #Hide real file/directory owner (just change displayed permissions)
# DirFakeGroup true #Hide real file/directory group (just change displayed permissions)
# DirFakeMode 0400 #Hide real file/directory rights (just change displayed permissions)
#Add execution right for directory if read right is set
# HideFiles "^(lost\+found|public_html)$" #Hide file/directory which match
#this extented POSIX regex
HideNoAccess true #Hide file/directory which user has no access
# MaxOpenFilesForUser 20 #limit user to open x files on same time
# MaxWriteFilesForUser 10 #limit user to x upload on same time
# MaxReadFilesForUser 10 #limit user to x download on same time
DefaultRights 0640 0750 #Set default rights for new file and new directory
# MinimumRights 0400 0700 #Set minimum rights for files and dirs# PathDenyFilter "^\." #deny upload of directory/file which match this extented POSIX regex
ShowLinksAsLinks false #show links as their destinations
# ConnectionMaxLife 1d #limits connection lifetime to 1 day# Charset "ISO-8859-15" #set charset of computer
# GMTTime +1 #set GMT Time (change if necessary)
</Default>
<User direction>
Home /home/DIRECTION
<User>
Je ne sais pas quoi faire...