Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

SSH Server

1. What is a SSH Server?
2. How do I install an SSH Server?
3. How do I SSH into a remote Ubuntu machine?
4. How do I copy files/folders from a remote Ubuntu machine into a local machine (scp)?
5. How do I copy files/folders from a local machine into a remote Ubuntu machine (scp)?
6. How do I copy files/folders from a remote Ubuntu machine into a local machine (rsync)?
7. How do I copy files/folders from a local machine into a remote Ubuntu machine (rsync)?
8. How do I SSH into a remote Ubuntu machine from a Windows machine?
9. How do I copy files/folders from/into a remote Ubuntu machine from a Windows machine?
1.

What is a SSH Server?

SSH is a secure, encrypted way to make connections to remote hosts or servers. A SSH server accepts connections from SSH aware clients and allows them to log into the system as if they are sitting right in front of it. You can run shell and X based programs remotely using SSH.

2.

How do I install an SSH Server?

  1. Read How do I add Universe and Multiverse?

  2. Install the ssh and openssh-server packages with Synaptic (See How do I use Synaptic to install packages?)

    Networking > ssh
    Networking > openssh-server

3.

How do I SSH into a remote Ubuntu machine?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?. Remote Ubuntu machine IP address:192.168.0.1

4.

How do I copy files/folders from a remote Ubuntu machine into a local machine (scp)?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?. Remote Ubuntu machine IP address:192.168.0.1, Remote files/folders location: /home/username/remotefile.txt Local machine save location: . (current directory)

  1. scp -r [email protected]:/home/username/remotefile.txt .

5.

How do I copy files/folders from a local machine into a remote Ubuntu machine (scp)?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?. Remote Ubuntu machine IP address:192.168.0.1, Local files/folders location: localfile.txt Remote Ubuntu save location: /home/username/

  1. scp -r localfile.txt [email protected]:/home/username/

6.

How do I copy files/folders from a remote Ubuntu machine into a local machine (rsync)?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?. Remote Ubuntu machine IP address:192.168.0.1, Remote files/folders location: /home/username/remotefile.txt Local machine save location: . (current directory)

  1. rsync -v -u -a --delete --rsh=ssh --stats [email protected]:/home/username/remotefile.txt .

7.

How do I copy files/folders from a local machine into a remote Ubuntu machine (rsync)?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?. Remote Ubuntu machine IP address:192.168.0.1, Remote save location: /home/username/ Local file name: localfile.txt

  1. rsync -v -u -a --delete --rsh=ssh --stats localfile.txt [email protected]:/home/username/

8.

How do I SSH into a remote Ubuntu machine from a Windows machine?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?.

  1. Download PuTTY

9.

How do I copy files/folders from/into a remote Ubuntu machine from a Windows machine?

[Note]

Assuming that the remote Ubuntu machine has installed SSH Server service. Read How do I install an SSH Server?.

  1. Download WinSCP

 
 
  Published under the terms of the Creative Commons License Design by Interspire