• Mystic SSH connection

    From cozmo@46:10/131 to All on Mon Feb 1 18:33:32 2021
    OK, I was able to connect using SSH. But it asks for a user and password
    before I even get to login to the BBS. How can I connect to the BBS using SSH without being prompted for user and password before I get to the BBS login?

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (46:10/131)
  • From ryan@46:1/111 to cozmo on Tue Feb 2 10:46:21 2021
    OK, I was able to connect using SSH. But it asks for a user and password before I even get to login to the BBS. How can I connect to the BBS
    using SSH without being prompted for user and password before I get to
    the BBS login?

    Use something like NetRunner or SyncTerm to connect to your BBS via SSH. A
    lot of this that you're talking about here will not be an issue using those (you still have to provide a username/password but they don't have to
    actually be anything real).

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: monterey bbs (46:1/111)
  • From cozmo@46:10/131 to ryan on Tue Feb 2 15:58:50 2021
    I'm using SyncTerm and i figured out about using any name and password. I thought users would be able to not get prompted for a user name & password.
    BUt The more I research the topic I realize that isn't going to happen. NOt a big deal I just thought it would be less of a pain for users to not have to
    do that. I have logged on to some BBS's using SSH and not been prompted for Name & Password.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (46:10/131)
  • From Accession@46:1/100 to cozmo on Sat Feb 6 08:40:30 2021
    Hello cozmo,

    On Tue Feb 02 2021 15:58:50, cozmo wrote to ryan:

    I'm using SyncTerm and i figured out about using any name and
    password. I thought users would be able to not get prompted for a user name & password. BUt The more I research the topic I realize that
    isn't going to happen. NOt a big deal I just thought it would be less
    of a pain for users to not have to do that. I have logged on to some
    BBS's using SSH and not been prompted for Name & Password.

    This would more than likely be a setting on the SSH server's side. Take a look at your configuration file (ssh.conf or ssh.cfg?). There should be something you can change there. Since you're using a Windows version I can't help you much, but there's probably some online documentation that will fit your needs.

    Ditching the actual login to an SSH server might partly be defeating the purpose of SSH's security, though. *shrug* But if this is more a "I was able to do it, and it's cool!" kinda thing, then it really doesn't matter much.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20181215
    * Origin: thePharcyde_ distribution system (Wisconsin) (46:1/100)
  • From opicron@46:20/110 to cozmo on Thu May 20 18:37:00 2021
    I'm using SyncTerm and i figured out about using any name and password. I thought users would be able to not get prompted for a user name & password BUt The more I research the topic I realize that isn't going to happen. NO big deal I just thought it would be less of a pain for users to not have t do that. I have logged on to some BBS's using SSH and not been prompted fo Name & Password.

    Yeah it has to do with the SSH daemon running on linux. I finally managed to avoid this on my Synology docker container. It now skips the SSH username and jumps straight to the board.

    Change the port of the board SSH and make sure the port is forwarded
    correctly. If you want port 22 to be the board do it the other way.

    Check bbs.opicron.eu with both telnet on port 23 and ssh on port 22.

    L8er
    Opicron

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: TheForze - bbs.opicron.eu:23 (46:20/110)
  • From Captain Morgan@46:1/104 to opicron on Sat Apr 16 07:25:51 2022
    Re: Linux and passwordless ssh
    Can be done, create a userid, edit /etc/shadow where the actual passwords are stored in encrpted form and set the second : separated field to nothing (::) and then run something like mkpw_db (can't recall the name offhand to re-create the password database). /etc/ssh/sshd_config should be adjusted to cater for passwords and allow empty passwords and thereafter ssh access will drop straight in.

    Not wise to do so. What I've done in the past is create my own alternative shell. Edit /etc/shells to include my own script, in /etc/passwd set that script as the shell for a user (last field of the users passwd entry). In the script set up a while :;do read ANS;done loop and all that user will be able to do is enter text. Evaluate ANS within that loop and you can add actions ... if [ "$ANS" = "dir" ];then ls;fi ... whatever.

    ... A Meteor is an example of a rock star.

    --- Mystic BBS v1.12 A48 2022/04/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (46:1/104)