On 24/3/25 12:29, jeremy ardley wrote:
You could use MFA on the SSH connection and then use certificates to
establish the VPN connection?
My SSH MFA setup has clients must connect using a certificate, then
they must enter a pasword, and then they must complete a google
authenticator.
It is possible to configure OpenVPN with MFA such as google
authenticator, but other mechanisms are possible.
I should mention that having an internet facing ssh service is usually a
very bad idea. The 'better' approach is to have only a VPN exposed and
use heavy security on that. Once the VPN link is established you can ssh through the VPN to internal systems.
On Mon, 2025-03-24 at 12:39 +0800, jeremy ardley wrote:
I should mention that having an internet facing ssh service is
usually a very bad idea. The 'better' approach is to have only a VPN exposed and use heavy security on that. Once the VPN link is
established you can ssh through the VPN to internal systems.
Why do you think SSH is less secure than any other VPN ?
I should mention that having an internet facing ssh service is
usually a very bad idea. The 'better' approach is to have only a VPN
exposed and use heavy security on that. Once the VPN link is
established you can ssh through the VPN to internal systems.
I should mention that having an internet facing ssh service isWhy do you think SSH is less secure than any other VPN ?
usually a very bad idea. The 'better' approach is to have only a VPN exposed and use heavy security on that. Once the VPN link is
established you can ssh through the VPN to internal systems.
Jan Claeys (HE12025-03-25):
I should mention that having an internet facing ssh service is
usually a very bad idea. The 'better' approach is to have only a
VPN exposed and use heavy security on that. Once the VPN link is established you can ssh through the VPN to internal systems.
Why do you think SSH is less secure than any other VPN ?
Why do you think Jan says ssh is less secure than a VPN when Jan is
saying that ssh is less secure than VPN+ssh?
It is not that SSH is less secure, it is that crackers attempt to brute
force SSH servers. If you really want to have SSH open to the internet you may want to hide it behind port knocking.
It is not that SSH is less secure, it is that crackers attempt to brute
force SSH servers [...]
Out of the box debian has passwords enabled and certificates allowed
but not mandatory.
I can guarantee at least 90% of all debian installations do not have
the defaults changed (let alone any of the other flavours of linux).
This is the precise reason I get dozens of attempts a minute on my
firewall port 22.
On 25/3/25 23:22, Jan Claeys wrote:
On Mon, 2025-03-24 at 12:39 +0800, jeremy ardley wrote:
I should mention that having an internet facing ssh service isWhy do you think SSH is less secure than any other VPN ?
usually a very bad idea. The 'better' approach is to have only a VPN exposed and use heavy security on that. Once the VPN link is
established you can ssh through the VPN to internal systems.
One reason to choose VPN over ssh is that many ISPs block incoming ports including ssh, telnet, RDP, smtp, and smb ports.
The more extreme ones block outgoing connections on most of those those ports as well.
One reason to choose VPN over ssh is that many ISPs block incoming ports including ssh, telnet, RDP,� smtp, and smb ports.
[email protected] (HE12025-03-26):
I was once sitting at a $(DAYJOB) where they blocked everything but
443 (and 80). I tunneled ssh over socat (with TLS, so that the handshake didn't look suspect, in case their firewall sniffed that). Bonus: I
got to see whether they did MITM, since I made my own server and
client certs.
If behind a BOFH firewall, ssh is usually a lot easier to tunnel to
sneak through than a VPN.
Bigcorps are like that. It was not that the firewall department didn't
want to talk to me. It was that they bought a "product" without really understanding how it works.
Must not comment. Must not comment.
On Wed, Mar 26, 2025 at 09:41:55AM +0100, Nicolas George wrote:
[email protected] (HE12025-03-26):
I was once sitting at a $(DAYJOB) where they blocked everything but
443 (and 80). I tunneled ssh over socat (with TLS, so that the handshake didn't look suspect, in case their firewall sniffed that). Bonus: I
got to see whether they did MITM, since I made my own server and
client certs.
If behind a BOFH firewall, ssh is usually a lot easier to tunnel to
sneak through than a VPN.
My bet was that 443 is always open because otherwise mid- and hi-
level mgmt would be on top of the poor admins because they couldn't
go to their share trading casinos: I won :)
On Wed, Mar 26, 2025 at 09:41:55AM +0100, Nicolas George wrote:Like a continent or more away. Such attitudes are contagious. Whoever
[email protected] (HE12025-03-26):My bet was that 443 is always open because otherwise mid- and hi-
I was once sitting at a $(DAYJOB) where they blocked everything butIf behind a BOFH firewall, ssh is usually a lot easier to tunnel to
443 (and 80). I tunneled ssh over socat (with TLS, so that the handshake >>> didn't look suspect, in case their firewall sniffed that). Bonus: I
got to see whether they did MITM, since I made my own server and
client certs.
sneak through than a VPN.
level mgmt would be on top of the poor admins because they couldn't
go to their share trading casinos: I won :)
My goto quote for this is Bruce Schneier's "Security is a process,Bigcorps are like that. It was not that the firewall department didn'tMust not comment. Must not comment.
want to talk to me. It was that they bought a "product" without really
understanding how it works.
not a product" [1]. If, at a company, this earns me empty stares,
I try to not get involved in their security, but rather watch the
fireworks from afar.
Cheers
[1] https://www.schneier.com/essays/archives/2000/04/the_process_of_secur.html
My bet was that 443 is always open because otherwise mid- and hi-
level mgmt would be on top of the poor admins because they couldn't
go to their share trading casinos: I won :)
Admins would also have problems to get security updates (and not accessing *overflow)
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 00:09:04 |
| Calls: | 12,097 |
| Calls today: | 5 |
| Files: | 15,003 |
| Messages: | 6,517,857 |