ssh example.com 'ls -ltr .wiki'
Copy remote directories.
scp -r example.com:.wiki/ backup/example/
Copy remote directories as .tgz file.
ssh ex.com 'tar -czf - .wiki' > backup/ex.tgz
Port forward to access remote localhost. stackoverflow
ssh -L 8080:localhost:3000 example.com
ssh root@example.com
Run a remote command.
Administrators use ssh to connect to and configure remote servers. A remote system might accept passwords as sufficient authentication but prefers pre established cryptographic credentials.
Remote login, perhaps as root.