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: 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: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 18:05:10 |
Calls: | 101 |
Files: | 4,672 |
Messages: | 216,185 |