Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problème pour chrooter avec RSSH

Featured Replies

Posté(e)

Bonjour tout le monde.

Voici mon problème de la semaine : comment chrooter ses utilisateurs avec du ssh ? Pour ce faire, j'ai suivi des tutoriaux sur Internet qui donnent globalement tous la même marche à suivre mais dans mon cas ça ne fonctionne pas...

Plus d'infos :

Mon terminal lorsque je veux me connecter :

[root@localhost home]# sftp momo@localhost
Connecting to localhost...
momo@localhost's password:
Connection closed

Le message d'erreur en détail :

Feb 12 11:40:07 localhost sshd[4798]: Accepted password for momo from 127.0.0.1 port 33665 ssh2
Feb 12 11:40:07 localhost sshd[4800]: subsystem request for sftp
Feb 12 11:40:07 localhost rssh[4801]: setting log facility to LOG_USER
Feb 12 11:40:07 localhost rssh[4801]: allowing scp to all users
Feb 12 11:40:07 localhost rssh[4801]: allowing sftp to all users
Feb 12 11:40:07 localhost rssh[4801]: allowing cvs to all users
Feb 12 11:40:07 localhost rssh[4801]: allowing rdist to all users
Feb 12 11:40:07 localhost rssh[4801]: allowing rsync to all users
Feb 12 11:40:07 localhost rssh[4801]: setting umask to 022
Feb 12 11:40:07 localhost rssh[4801]: user momo attempted to execute forbidden commands
Feb 12 11:40:07 localhost rssh[4801]: command: /usr/local/libexec/sftp-server

Quelqu'un a t'il une piste ?

  • 3 semaines après...
Posté(e)

Si j'ai bien compris tu n'arrives pas à te connecter en sftp sur ta machine ??

Tu as un server sftp ou openssh d'installé sur ta machine ??

Qu'elle distribution tu as ?

:inpactforce:

  • 1 mois après...
Posté(e)
Bonjour tout le monde.

Voici mon problème de la semaine : comment chrooter ses utilisateurs avec du ssh ? Pour ce faire, j'ai suivi des tutoriaux sur Internet qui donnent globalement tous la même marche à suivre mais dans mon cas ça ne fonctionne pas...

...

Quelqu'un a t'il une piste ?

Je viens de résoudre le même problème sous RedHat Entreprise 4 avec openssh !!!

Pour commencer tapes la commande suivante :

$ ln /usr/local/libexec/sftp-server /usr/lib

Ensuite edites le fichier '/etc/ssh/sshd_config.

La dernière ligne (ou une en tout cas une ligne du fichier) doit resembler à ça :

Subsystem sftp /usr/local/libexec/sftp-server

Remplaces-la par :

Subsystem sftp /usr/lib/sftp-server

Et voilà !

Magique :)

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.