How to configure and use the SSH port? Step-by-step instruction

Secure Shell, or SSH for short, is one of the most advanced data transfer protection technologies. Using this mode on the same router allows you to ensure not only the confidentiality of the transmitted information, but also accelerate the exchange of packets. True, not everyone knows how to open the SSH port and why all this is needed. In this case, a constructive explanation will have to be given.

SSH port: what is it and why is it necessary?

Since we are talking about security, in this case, the SSH port should be understood as a dedicated communication channel in the form of a tunnel that provides data encryption.

ssh port




, SSH- . : , , IPSec, , . , , . , .





SSH- , SSH- , . , , , . , .

SSH

, , . , SSH . , ( , , . .).

ssh port




, , Jabber, , 443, 22.

ssh port forwarding




, SSH. ? , , , (IPv4 IPv6).









, SSH 22 . , .

linux ssh port




SSH () ? , (SSH), (slogin), (scp).

, SSH- , X Windows, , , . AES. , SSH. , .

. , SSH, , .

, Socks VPN. - VPN, . , , -, VPN , . , -, , , . , VPN , , .

, SSH, 1995 (SSH-1). 1996 SSH-2, , , , , .

SSH-, telnet rlogin, RSA DSA ( ). , -, , .

Windows Linux SSH- . , .

. -, , «» . SSH-1 . « » . . (SSH-2) , session hijacking, .

, , , :

  • , «» fingerprint;
  • Windows UNIX- ;
  • IP DNS (spoofing);
  • .

, «-», , .

, .

, Windows- Microsoft Teredo, IPv6 IPv4. . , , . :

  • netsh;
  • interface teredo set state disabled;
  • interface isatap set state disabled.

. disabled enabled, , , .

SSH-

, SSH , «-». 22- , , , 443-. .

SSH- :

  • Windows: Tectia SSH Server, OpenSSH Cygwin, MobaSSH, KpyM Telnet/SSH Server, WinSSHD, copssh, freeSSHd;
  • FreeBSD: OpenSSH;
  • Linux: Tectia SSH Server, ssh, openssh-server, lsh-server, dropbear.

. , , . . , , «» .

SSH-

SSH .

, , :

  • Windows – SecureCRT, PuTTY\KiTTY, Axessh, ShellGuard, SSHWindows, ZOC, XShell, ProSSHD . .;
  • Mac OS X: iTerm2, vSSH, NiftyTelnet SSH;
  • Linux BSD: lsh-client, kdessh, openssh-client, Vinagre, putty.

, . (sshd_config). , , PuTTY. SSH (22) .

open ssh port




– 65535 ( ). , MySQL FTPD. SSH , , .

, Jabber SSH-, , . localhost 4430 ( 443, ). , jabber.example.com .

ssh port change




, , . , 192.168 0.1 1.1, , ADSL- Mikrotik, 88.1.

, , , dst-nat, , (Action). . – . 22, , (- ), , , , .

. , (512), 768. 600 root. , , .rhost ( ).

, , , , , user ssh master ( , , ).

default ssh port




~/.ssh/id_dsa ( rsa). ~/.ssh/identity.pub ( ). , , ssh-keygen. , (~/.ssh/authorized_keys).

. SSH, , SSH . , , , , . ( ), . 22, , 443-, , , Jabber ( , ). , SSH-, SSH-, .

, ( ), SSH . , -, (, , ). .




All Articles