So... Does Mystic even include an SSH Daemon?
My boxes OS has SSHD running an listening on a non-standard port, but that's not for the BBS.
On 09-08-19 06:18, Bradley D. Thornton wrote to All <=-
So... Does Mystic even include an SSH Daemon? My boxes OS has SSHD running and listening on a non-standard port, but that's not for the
BBS. If Mystic accepts SSH connections through some kind of hook using the host's Daemon I can just install and run a separate instance of OpenSSH, but wanted to check here first to make sure I don't clobber
port 22.
running and listening on a non-standard port, but that's not for theOn 09-08-19 06:18, Bradley D. Thornton wrote to All <=-
So... Does Mystic even include an SSH Daemon? My boxes OS has SSHD
using the host's Daemon I can just install and run a separate instance ofBBS. If Mystic accepts SSH connections through some kind of hook
Mystic's setup.OpenSSH,
but wanted to check here first to make sure I don't clobber
port 22.
Yes, Mystic has its own SSH server. You have to enable a SSH server in
Now, are you starting Mystic as root or an ordinary user? By default,ordinary users can't bind ports below 1024 on Linux. You either have to start
Mystic as root (it will run as the user that owns its directory once it hasbound its ports), or give the mis binary permission to bind privileged
ports.
On 09-08-19 22:02, Bradley D. Thornton wrote to Tony Langdon <=-
Yes I enabled the SSH server, and it didn't appear to start. I did a quick restart of mis, checked again, and still nothing - but I think I was just impatient since, when I came back a few minutes later to scan the port saw that it was open, and logged in. Yay! :)
It seemed a little funky, as far as how it went through the login
process when I tried it (once), but I'll check on it later, I'm sure
I've just got to get used to it.
So for now I've got port 23 open for telnet and port 22 open (running Mystic's SSHD). I'm glad that I didn't have to install and run another OpenSSHD and figure out how to pass that through or if it could be
done. Like I inferred, although perhaps not clearly enough, I already have SSHD listening on another, non-standard port for regular user
access to the host, i.e., there are two SSH daemons listening now,
Mystic on 22 and OpenSSH on another :)
I start mis as root. Actually, since that part of testing is over now,
I start it as the non-priv'd user who owns the dir with a sudo - one of the use cases where I believe in using sudo ;) For that, I don't add
the user to the sudo group, because any breakouts could afford a script kiddie to wreak havoc with impunity, so the user running "mis" (Not mystic) is only allowed to run mis.
I try to avoid letting non-privileged users run daemon's on privileged lower ports, but with some software, do sometimes. This isn't one of those times ;)
Now, that begs another question. If someone breaks out of Mystic... that's always a concern, so what SSH implementation does Mystic use? I ask because I want to know how confident I should be that port 22 (Mystic's SSHD) is as secure as OpenSSH is on the host.
Thanks again! I'm going to work on getting echomail setup tonight
later, I think I'll start with Fsxnet. Then Fidonet, Then you won't all have to read messages from me via Rob's server ;)
If I'm once again a SysOP, then I should be sending Echomail from my
own system lolz.
Yep I run 3 SSH daemons here:
OpenSSH on port 22 all IPs
Mystic on port 222 on selected IPs
Synchronet on port 222 on a different set of selected IPs.
On 09-10-19 01:19, Phil Taylor wrote to Tony Langdon <=-
Yep I run 3 SSH daemons here:
OpenSSH on port 22 all IPs
Mystic on port 222 on selected IPs
Synchronet on port 222 on a different set of selected IPs.
For security reason you may want to change your ssh port to above
20,000.
On 09-08-19 22:02, Bradley D. Thornton wrote to Tony Langdon <=-
Mystic's SSHD). I'm glad that I didn't have to install and run anotherSo for now I've got port 23 open for telnet and port 22 open (running
done. Like I inferred, although perhaps not clearly enough, I already haveOpenSSHD and figure out how to pass that through or if it could be
Mystic on 22 and OpenSSH on another :)SSHD listening on another, non-standard port for regular user
access to the host, i.e., there are two SSH daemons listening now,
Yep I run 3 SSH daemons here:
OpenSSH on port 22 all IPs
Mystic on port 222 on selected IPs
Synchronet on port 222 on a different set of selected IPs.
:)
now, I start it as the non-priv'd user who owns the dir with a sudo - one ofI start mis as root. Actually, since that part of testing is over
the user to the sudo group, because any breakouts could afford a scriptthe use cases where I believe in using sudo ;) For that, I don't add
kiddie to wreak havoc with impunity, so the user running "mis" (Not mystic)
is only allowed to run mis.
Using sudo is still "running as root".
privileged lower ports, but with some software, do sometimes. This isn't one ofI try to avoid letting non-privileged users run daemon's on
people with individual UNIX accounts) and only one sysadmin. In thatthose
times ;)
Umm, why? Back in the old days, there were lots of users (as in actual
environment, it makes sense not to allow non root users to bind privilegedports - you wouldn't want a user taking over the SMTP port, for example.
Today it's more common to have Linux boxes with only one actual (human)user - the sysadmin, and any "users" are simply accounts to isolate processes
from one another. Allowing these users to run a specific application thatcan bind privileged ports means they don't have to start the application as
root, with a (very) small increased potential for a root compromise, if aflaw can be triggered before it drops privileges.
that's always a concern, so what SSH implementation does Mystic use? I askNow, that begs another question. If someone breaks out of Mystic...
(Mystic's SSHD) is as secure as OpenSSH is on the host.because I want to know how confident I should be that port 22
I'm not sure tbh.
quick restart of mis, checked again, and still nothing - but I think I wasOn 09-08-19 22:02, Bradley D. Thornton wrote to Tony Langdon <=-
Yes I enabled the SSH server, and it didn't appear to start. I did a
the port saw that it was open, and logged in. Yay! :)just impatient since, when I came back a few minutes later to scan
Cool, sounds good. :)
On 09-10-19 20:46, Bradley D. Thornton wrote to Tony Langdon <=-
I wanted to ask you, what editor or offline reader are you using that quotes with lines with the person's initials? I like that.
Yep I run 3 SSH daemons here:
OpenSSH on port 22 all IPs
Mystic on port 222 on selected IPs
Synchronet on port 222 on a different set of selected IPs.
For security reason you may want to change your ssh port to above 20,000.
Yep I run 3 SSH daemons here:
OpenSSH on port 22 all IPs
Mystic on port 222 on selected IPs
Synchronet on port 222 on a different set of selected IPs.
For security reason you may want to change your ssh port to above 20,000.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 422 |
Nodes: | 16 (0 / 16) |
Uptime: | 179:31:35 |
Calls: | 8,942 |
Calls today: | 9 |
Files: | 13,352 |
Messages: | 5,990,856 |