SSH (Secure Shell) allows you to connect to another computer. When you SSH into a Ubuntu box, it is almost the same as if you were to sit in front of that computer’s terminal. SSH also supports file transfers so it is useful if you want to connect to, say, a LAMP server remotely.
First, install the OpenSSH server. During this time, you may want to record the server’s IP address or host name.
sudo apt-get install openssh-server
Second, you’re done.
From Linux or Mac OS X
Linux and Mac OS X includes SSH functionality via the Terminal. Simply fire up Terminal in Applications > Accessories for Ubuntu or /Applications/Utilities/ for OS X and enter the following
ssh -l login_name ip_address
ssh -l lijamez 192.168.1.123
You should then be prompted for your password that is associated with your account on the Ubuntu box.
You will need to download PuTTY. Once downloaded, open it up and enter the IP address or host name into the Host Name field. Then connect and your login name will be prompted.
You can use scp to transfer files to and fro.
scp /home/user/file.txt login_name@ip_address:/home/user2/
scp /home/james/file.txt firstname.lastname@example.org:/home/lijamez/
Alternatively, you may use a dedicated application if you need to transfer many files.
For Linux, you can use gFTP or your desktop environment’s file browser.
For Mac, there is Cyberduck.
For Windows, there is WinSCP.
For all of them, there is FileZilla.
To disable the OpenSSH service, go to System > Administration > Services. Find “Remote shell server (ssh)” and uncheck it.
Possibly related posts: (automatically generated)