• VT100 over https

    From shinobi@21:1/153 to All on Mon Feb 26 00:34:12 2018
    Hello All,

    I wonder. There is fTelnet. And I'm totally fine with that. But is there anything similar to fTelnet that would enable the use of ssh? I configured mystic to serve with ssh too. But aside the SyncTERM I'd like to connect to
    it from web browser. There is shellinabox. And I found that it could be used
    to connect to command line. But I'd appreciate something that would let me connect to ssh on non-standard port too.

    Thanks in advance for any response

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From Avon@21:1/101 to shinobi on Mon Feb 26 19:35:40 2018
    On 02/26/18, shinobi pondered and said...

    I wonder. There is fTelnet. And I'm totally fine with that. But is there anything similar to fTelnet that would enable the use of ssh? I

    I'm not aware of anything specific but had been wondering this also. I currently use the fTelnet client (an earlier version to the one currently on offer) and would also like the option of a web based SSH login if such a
    thing is doable.

    There is a VTX web client out there under development but I'd need to look to see if it supported SSH - I'm unsure and know little..

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From shinobi@21:1/153 to Avon on Mon Feb 26 09:06:22 2018
    Hello Avon,

    There is a VTX web client out there under development but I'd need to
    look to see if it supported SSH - I'm unsure and know little..

    so far the VTX web client is not just a client. From what I learned so far
    it's client and server. I tried to compile it on linux but didn\t succeeded. However it's a web-client that connects to custom server via web socket
    or web secure socket. So in the fact the communication could be secured
    once one would use wss and put the server to the same host where the
    connection should connect.

    Thanks for the guidance & best regards

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From Nigel Reed@21:2/101 to shinobi on Mon Feb 26 05:20:08 2018
    On Mon, 26 Feb 2018 00:34:12 +0000, "shinobi" <shinobi@21:1/153>
    wrote:

    Hello All,

    I wonder. There is fTelnet. And I'm totally fine with that. But is there >anything similar to fTelnet that would enable the use of ssh? I configured >mystic to serve with ssh too. But aside the SyncTERM I'd like to connect to >it from web browser. There is shellinabox. And I found that it could be used >to connect to command line. But I'd appreciate something that would let me >connect to ssh on non-standard port too.

    shellinabox will connect to any ssh server. You just need to specify
    something like -s /:SSH:ipofserver

    The one problem I have found is that, unlike telnet, you can't send
    any sort of message proper to login (this would be like an /etc/issue
    in unix).

    Therefore for those BBS's that require you to enter a username, new or
    guest, such as synchronet, you'll not get that message.

    Of course, this is a problem with any ssh based client, however most
    people connecting to a BBS are likely to do it for the first time via
    telnet. You'd have to make sure your webpage contains instructions to
    login as NEW for a new user or use their username.
    --- SBBSecho 3.03-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (21:2/101)
  • From shinobi@21:1/153 to Nigel Reed on Mon Feb 26 13:56:10 2018
    Hello Nigel,

    shellinabox will connect to any ssh server. You just need to specify something like -s /:SSH:ipofserver

    thanks so much for the reply. So far that works as a charm with one small
    catch in my setup. I'm of course having on my Linux Box Mystic SSH on non-standard port and let the 22 for standard ssh.

    And so far this program is in my honest opinion to designed only to connect
    to standard ssh port. Or at least I couldn't find the right parameter.

    Of course, this is a problem with any ssh based client, however most people connecting to a BBS are likely to do it for the first time via telnet. You'd have to make sure your webpage contains instructions to login as NEW for a new user or use their username.

    I found that for connecting using SSH I prefer the SyncTERM most. I was just wondering whether there is any solution for connecting to Mystic BBS using
    ssh via web.

    Thanks so much and best regards

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From Nigel Reed@21:2/101 to shinobi on Mon Feb 26 09:58:10 2018
    On Mon, 26 Feb 2018 13:56:10 +0000, "shinobi" <shinobi@21:1/153>
    wrote:

    Hello Nigel,

    shellinabox will connect to any ssh server. You just need to specify something like -s /:SSH:ipofserver

    thanks so much for the reply. So far that works as a charm with one small >catch in my setup. I'm of course having on my Linux Box Mystic SSH on >non-standard port and let the 22 for standard ssh.

    And so far this program is in my honest opinion to designed only to connect >to standard ssh port. Or at least I couldn't find the right parameter.

    Of course, this is a problem with any ssh based client, however most people connecting to a BBS are likely to do it for the first time via telnet. You'd have to make sure your webpage contains instructions to login as NEW for a new user or use their username.

    I found that for connecting using SSH I prefer the SyncTERM most. I was just >wondering whether there is any solution for connecting to Mystic BBS using >ssh via web.

    According to the source code....

    // If we find a second ":", keep as a host whatever is in
    between first ":"
    // and second ":" and as sshPort whatever is after second
    ":".


    Did you try -s /:SSH:server:port
    --- SBBSecho 3.03-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (21:2/101)
  • From Outatime@21:4/101 to Shinobi on Mon Feb 26 14:30:22 2018
    RE: VT100 over https
    BY: shinobi(21:1/153)
    I wonder. There is fTelnet. And I'm totally fine with that. But is there anything similar to fTelnet that would enable the use of ssh? I
    configured
    mystic to serve with ssh too. But aside the SyncTERM I'd like to connect
    to
    it from web browser. There is shellinabox. And I found that it could be
    used
    to connect to command line. But I'd appreciate something that would let
    me
    connect to ssh on non-standard port too.

    SSH over web browser does not make a lot of sense. If your goal is an encrypted socket, you can run websockify on your BBS server, configured with an SSL certificate, to expose a secure websockets connection. Then use fTelnet or some other websockets client in the browser to connect.
    

    --- WWIV 5.3.0.development
    * Origin: Back to the Future (bttfbbs.com) (21:4/101)
  • From shinobi@21:1/153 to Nigel Reed on Mon Feb 26 18:03:52 2018
    Hello Nigel,

    Did you try -s /:SSH:server:port

    thanks so much for Your patience. Well... I tried that (specify port) for several time. But possible there could be some trouble with the non-standard ssh provided by Mystic BBS. When I try to connect using ssh on that port the result is hand-shake failed. But when I go with SyncTERM everything works
    as a charm. Who knows what the reason is.

    Thanks again & best regards

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From shinobi@21:1/153 to Outatime on Mon Feb 26 22:05:54 2018
    SSH over web browser does not make a lot of sense. If your goal is an encrypted socket, you can run websockify on your BBS server, configured with an SSL certificate, to expose a secure websockets connection. Then use fTelnet or some other websockets client in the browser to connect.

    Thanks. That's a wonderful solution to my Experiments. :-)

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)