====== 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 Port 2000 PermitRootLogin no AuthorizedKeysFile %h/.ssh/authorized_keys 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 PasswordAuthentication no 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~~