Это старая версия документа.


A PCRE internal error occured. This might be caused by a faulty plugin

====== How to setup SSH on Ubuntu ====== Consider that 192.168.1.1 is a host, and "denis" is a user on the host side. 1. Installing server sudo apt-get install ssh 2. Setting up server sudo gedit /etc/ssh/sshd_config <file> Port 2000 PermitRootLogin no AuthorizedKeysFile %h/.ssh/authorized_keys </file> sudo service ssh restart 3. Setting up client ssh-keygen -t dsa (empty answer for every question) ssh-copy-id "denis@192.168.1.1" -p 2000 4. Close server access for user without dsa-authorization: sudo gedit /etc/ssh/sshd_config <file> PasswordAuthentication no </file> sudo service ssh restart 5. Connect from mc open panel`s "shell-connection" paste needed machine denis@192.168.1.1. Type password - enjoy. ~~DISCUSSION~~

dev/ubuntu/ssh.1537866595.txt.gz · Последние изменения: 2018/09/25 12:09 — alexeyb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0