InstantSSH

  • i-MSCP InstantSSH plugin version 3.1.0 has just been released.


    Version compatible with i-MSCP version >= 1.1.19 ( Plugin API 0.2.14 )


    CHANGELOG

    • Added: Action allowing to schedule rebuilt of all jails ( admin/ssh_permissions )
    • Added: fstab application section option
    • Added: jail_run_commands application section option
    • Added: sys_copy_file_to application section option
    • Added: sys_run_commands application section option
    • Added: php (CLI) application section
    • Removed: mount application section option ( superseded by the fstab option )
    • Renamed: copy_file_to application section option to jail_copy_file_to


    See the update errata file for further details about changes.


    Plugin usage


    The development of this plugin took me a lot of time, especially the Jail builder layer which allows to build the jailed shell environments. Thus, I would ask a small contribution for use of this plugin by doing a donation on my paypal account ( [email protected] ). If you don't understand such asks, or if you do not want donate, just don't use this plugin.


    Thank you for using this plugin.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I've installed the plugin today! (Thx for the great job).


    I have a little problem. I changed the ssh_user_name_prefix and passwordless_authentication in config.php, but both with no effects.
    What am I doing wrong?

  • Hello, did you updated the plug in list after?


    Envoyé de mon SM-G350 en utilisant Tapatalk

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • i-MSCP InstantSSH version 3.1.1 has just been released.


    Version compatible with i-MSCP >= 1.1.19 ( Plugin API 0.2.14 )


    CHANGELOG

    • Fixed: Missing groups command
    • Fixed: Wrong error handling
    • Fixed: Wrong variable in _checkRequirements() method ( backend )
    • Updated: Translation files


    Plugin Usage


    The development of this plugin took me a lot of time, especially the Jail builder layer which allows to build the jailed shell environments. Thus, I would ask a small contribution for use of this plugin by doing a donation on my paypal account ( [email protected] ). If you don't understand such asks, or if you do not want donate, just don't use this plugin.


    Thank you for using this plugin.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Stupid question: How can i get sshfs to work?


    I'm trying to mount one of the shells as sshfs on a remote server but the connection gets dropped after auth.


    Code
    1. echo PassworD | sshfs [email protected]:/private /storage/ssh_mount -o password_stdinremote host has disconnected

    (testing without keys for the ease)


    Edit: It seems busybox is lacking sftp support?

    Code
    1. Dec 28 03:08:28 myhost sshd[31785]: Accepted password for imscp_user from 127.0.0.1 port 47447 ssh2
    2. Dec 28 03:08:28 myhost sshd[31785]: pam_unix(sshd:session): session opened for user imscp_user by (uid=0)
    3. Dec 28 03:08:28 myhost sshd[31787]: pam_env(sshd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    4. Dec 28 03:08:28 myhost sshd[31787]: pam_env(sshd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    5. Dec 28 03:08:28 myhost sshd[31787]: subsystem request for sftp by user imscp_user
    6. Dec 28 03:08:28 myhost sshd[31785]: pam_unix(sshd:session): session closed for user imscp_user
    7. Dec 28 03:08:28 myhost sshd[31785]: pam_env(sshd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    8. Dec 28 03:08:28 myhost sshd[31785]: pam_env(sshd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
  • Hello @MadMakz


    To enable sftp, you must edit the InstantSSH/config.php configuration file and add the sftp section in the app_sections:


    PHP
    1. 'app_sections' => array(
    2. 'imscpbase',
    3. 'sftp'
    4. ),


    Once done, you must update the plugin list through the plugin interface to trigger plugin change.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi I have a problem without instantSSH customer login full access to step into trouble, but it has limited access to drop immediately:


    The log recorded the following:


    Accepted publickey for imscp_user from port 3501 ssh2 78153117172
    Jan 9 10:50:20 mail sshd [22349]: pam_unix (sshd: session): session opened for user imscp_user by (uid = 0)
    Jan 9 10:50:20 mail sshd [22351]: pam_env (sshd: setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    Jan 9 10:50:20 mail sshd [22351]: pam_env (sshd: setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
    Jan 9 10:50:20 mail sshd [22351]: request for sftp subsystem by user imscp_user
    Jan 9 10:50:20 mail sshd [22349]: pam_unix (sshd: session): session closed for user imscp_user
    The config instantSSH already looks 'app_sections' => array (
    'imscpbase'
    'sftp'
    )


    and also completed the plugin update


    I-MSCP ver: 1.2.0
    InstantSSH 3.1.1


    Thank you in advance for your help

    Dankó István

  • @danko


    • Distro ?
    • It's a jailed SSH access or a full SSH access?
    • If you try sftp with root user ( full access ) this is working ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206