How is SSH2 usage nowadays

New to Debian (Or Linux in general)? Ask your questions here!

How is SSH2 usage nowadays

Postby Copernicus365 » 2020-12-02 11:28

Hi
So I wonder how is the SSH2 usage on Debian nowadays?
Is it worth the risk to get the system compromised to use it, with the added benefit of remote location access?
Are there some good guides to start use SSH2 somewhere and how do I set up to only allow SSH2 connections from a specific IP (I found info on Wikipedia that you can only allow SSH2 connections from a specific IP adress)?
Is it normal to use SSH2 for Debian server owners?

Link:
https://en.wikipedia.org/wiki/SSH_(Secure_Shell)
Copernicus365
 
Posts: 6
Joined: 2020-11-19 17:32

Re: How is SSH2 usage nowadays

Postby arzgi » 2020-12-02 11:38

I'm not an expert for that subject, but some thoughts.

If you don't need ssh-server or any other, then don't enable those.

It's been a long time recommended that only ssh2 connections are allowed in /etc/ssh/sshd_config

To sshd_config you can also add addresses it will listen.

There are also firewalls and other tools which can block or allow for example ip's.
arzgi
 
Posts: 701
Joined: 2008-02-21 17:03
Location: Finland

Re: How is SSH2 usage nowadays

Postby reinob » 2020-12-02 19:17

Copernicus365 wrote:Hi
So I wonder how is the SSH2 usage on Debian nowadays?


The way your phrased your question appears to imply that you think SSH version 2 is somewhat new or experimental.
It's however about 15 years old, and no use should be using SSH version 1 under any circumstances.

So I don't know what you need to know. SSH is used everywhere where a server runs, and in many clients too.

Just make sure you're running up-to-date (supported) versions, and disable password authentication. You should use public key authentication, and preferably protect the local (private) key with a passphrase, in case your client computer gets compromised.
reinob
 
Posts: 865
Joined: 2014-06-30 11:42


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable