Belajar Sendiri

Commands

ssh

ssh [user@]<host> [command]

Risk: Safe

What it does

Opens a sealed line to another machine, so you can type there.

When to use it

To work on a server far away.

Example

$ ssh you@10.0.0.5

Log in to 10.0.0.5 as you.

$ ssh kedai hostname

Run one command there, using a short name from ~/.ssh/config.

$ ssh -G kedai

Show the settings ssh will use, without calling.