Re: Duplicate ssh session

From: Julien (julien.castel_at_asp64.com)
Date: 07/18/05

  • Next message: Guillaume Desmottes: "login into specific directory"
    To: <konradl@poczta.onet.pl>, <secureshell@securityfocus.com>
    Date: Mon, 18 Jul 2005 11:36:42 +0200
    
    

    Hello,

    you can use this feature in linux shell.

    On first connexion you have to set it as master connexion using -M option
    and -S option if to want to set the location of a control connection socket
    sharing.
    ex : ssh -MS /root/.ssh/ssh_socket_sharing 192.168.xxx.xxx

    And then you have to connect with -S option
    ex : ssh -S /root/.ssh/ssh_socket_sharing 192.168.xxx.xxx

    When I use this feature I execute a sleep command on master and then connect
    on slave.

    It seems the option is only available after OpenSSH 3.9p1

    I hope it can help you and that's what you search.

    Julien

    ----- Original Message -----
    From: "Konrad LUDWIKOWSKI" <konradl@poczta.onet.pl>
    To: <secureshell@securityfocus.com>
    Cc: "Konrad Ludwikowski" <konradl@poczta.onet.pl>
    Sent: Thursday, July 14, 2005 9:48 AM
    Subject: Duplicate ssh session

    > Hello,
    >
    > I use comercial SSH client called F-Secure SSH client and putty. One of
    > the best feature od F-Secure is the ability do duplicate (better
    > multiplexing)
    > ssh session. In F-Secure if you are logged in and click "New Terminal
    > Window"
    > you will get another terminal (without suppling credentials). From server
    > point of view it looks like this:
    >
    > # ps -ef|grep sshd
    > ludw 8104 8102 0 09:31 ? 00:00:00 sshd:
    > ludw@pts/10,pts/11,pts/12
    >
    > another pts/XX for new terminal - but still the same instance of sshd.
    >
    > Does anyone know how to get such a behavior in putty or ssh commnad
    > inside linux shell??
    >
    > Kind rgds,
    > Konrad


  • Next message: Guillaume Desmottes: "login into specific directory"