Hi Folks,
Was wondering what it takes to get ssh logins working on Synchronet BBS? I just set my system up and was hoping to get that working too. It doesn't seem to want to listen on the proper port, the sbbs.ini file shows it listed in the options, and I moved the systems shell ssh to a different port in hopes not to have a port conflict, but still nope answer on port 22.
Was wondering what it takes to get ssh logins working on Synchronet BBS? I just set my system up and was hoping to get that working too. It doesn't seem to want to listen on the proper port, the sbbs.ini file shows it listed in the options, and I moved the systems shell ssh to a different port in hopes not to have a port conflict, but still nope answer on port 22.
What is the terminal server log output reporting?
Normally, nothing special is required to get ssh logins working with SBBS.
Which OS? did you try to do "ssh username@localhost" from the computer Synchronet is running on? Could be the port is blocked somewhere? router? firewall?
For the most part SSH if the service is going should just work. More info needed. wiki.synchro.net look up ports or ssh.
Re: SSH Logins on Synchronet BBS?
By: Digital Man to Fratm on Mon Feb 13 2023 23:52:38
What is the terminal server log output reporting?
Normally, nothing special is required to get ssh logins working with SBBS.
Is this logged in syslog? (on debian, followed wiki install instructions),
Also does it use the systems sshd or does it have its own?
I am seeing this message in the syslog (/var/log/syslog)
Feb 14 05:05:17 bbs systemd[1]: Stopping OpenBSD Secure Shell server...
Feb 14 05:05:17 bbs systemd[1]: ssh.service: Succeeded.
Feb 14 05:05:17 bbs systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 14 05:05:17 bbs systemd[1]: ssh.service: Consumed 33.903s CPU time.
Re: SSH Logins on Synchronet BBS?
By: Android8675 to Fratm on Tue Feb 14 2023 09:01:27
Which OS? did you try to do "ssh username@localhost" from the computer Synchronet is running on? Could be the port is blocked somewhere? router? firewall?
For the most part SSH if the service is going should just work. More info needed. wiki.synchro.net look up ports or ssh.
Ports are not blocked, verified that.. But, I am seeing this in the daemon log
Feb 14 05:12:35 bbs sbbs[24235]: #015#015#015#015#015#0152/13 21:12:35 term SSH ERROR 'Couldn't import the session key used to protect the private key' (-22) getting private key from bbs_thread
Feb 14 05:12:35 bbs sbbs[24235]: #015#015#015#015#015#0152/13 21:12:35 term SSH ERROR 'Couldn't import the session key used to protect the private key' (-22) getting
private key from bbs_thread
Re: SSH Logins on Synchronet BBS?
By: Fratm to Android8675 on Tue Feb 14 2023 10:41:42
Feb 14 05:12:35 bbs sbbs[24235]: #015#015#015#015#015#0152/13 21:12:35 term SSH ERROR 'Couldn't import the session key used to protect the private key' (-22) getting private key from bbs_thread
I searched the above string on the wiki, and the issue is because I changed the system password, was an easy fix, just remove the old key and restart the terminal service, and magically it is all working now.
When you change the system password in SCFG, it should automatically force the key and certificate regeneration. Did you modify the system password in your
ctrl/main.ini
file directly (by hand)?
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 60 |
Nodes: | 4 (0 / 4) |
Uptime: | 17:47:38 |
Calls: | 516 |
Files: | 7,037 |
Messages: | 288,626 |