SSH
SSH (Secure Shell)
-
Network protocol that provides a secure way to access another computer remotely.
-
Replaces Telnet (which is insecure) and is widely used for server administration.
-
Example: secure remote connection to Linux servers.
Telnet (Teletype Network)
-
-
Fast.
-
Insecure.
-
Outdated.
-
Okay if used locally.
SCP (Secure Copy)
-
It is a command to securely transfer files between machines via SSH.
Sending or Receiving
scp /local/path/file.txt user@server:/destination/path/
scp user@server:/path/file.txt /local/path/
Setting up a Server
Linux
-
OpenSSH Server
Raspberry Pi
-
sudo raspi-config-> Interfaces -> SSH.
Windows
-
Putty.
-
Apps and Features -> Manage Optional Features -> Add Feature -> Open SSH Server
-
Services -> OpenSSH -> Auto Start on Boot.
-
Android
-
App: SimpleSSHD.
iOS
-
Not possible; maybe old versions.
macOS
-
Remote Login.