OPERATING SYSTEMSOS Linux

How to use SSH in Ubuntu

How to install Secure Shell (SSH) / Secure FTP (SFTP) Server in Ubuntu. I go through the recommended level of security settings to run an SSH server to be able to execute terminal commands or transfer files securely.
Instructions:
sudo apt-get install ssh
sudo nano /etc/ssh/sshd_config

ssh user@192.168.0.1 to connect to the SSH server from a Linux system
From Windows use PuTTY or WinSCP

IPTables firewall settings: http://blog.zioup.org//2008/iptables_recent/
Optional firewall for Ubuntu Desktop: GUFW
Optional firewall for Ubuntu Server: Webmin
Webmin is a great server config suite, but do not install it on an Ubuntu dekstop system because it will break the network settings.

Wallpaper: http://quidsup.net/?i=City_Lights_by_waqar

source

ubuntu

20 thoughts on “How to use SSH in Ubuntu

  • Your accent makes it super-hard to understand. At least here, in the US.

  • nice tut, well done, I'm learning !!!
    Feel so smart 0-o

  • I set up ssh then on the second pc I type ssh [ip] and then press enter and nothing happens I just type an enter nothing happens after that

  • God I fucking hate people with a thick accent and that weird throat problem

  • Quids makes this look so easy – and presents things in a way where you can follow along. I never knew how easy this was until I saw this video. THANKS!

  • i get a connection refused port 22 , or 21 or whatever port i put ,please help !

  • On a couple of other videos, sshd_conf is syntaxed sshd.conf
    Are those from an older version of SSH?
    Great video again.

  • Until now the best intro to ssh I've found on Youtube, because You are going into details like "/etc/hosts" and "/etc/ssh/sshd_config".

  • Great tutorial, thanks quids!
    At the end you mention using a firewall, but don't go into much detail… If I'm just using ssh on my home network between just two machines, should I still use one?

  • You can also use ssh to cat text to files on the remote PC. Eg:
    cat ~/.ssh/id_dsa.pub | ssh user@otherserver"cat >> ~/.ssh/authorized_keys"

  • I use SSH to connect between Macs in my LAN. Will this work when i want to connect a Mac to Ubuntu via SSH?

  • Wonderful I was about to search for a nice tutorial, now I found it 🙂

Comments are closed.