SSH: Difference between revisions

From Psygen Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


This example sends '''examplefile''' from the directory you're currently in to '''/home/yourusername/''' on '''yourserver'''
This example sends '''examplefile''' from the directory you're currently in to '''/home/yourusername/''' on '''yourserver'''
== References ==
<ol>
    <li>[http://man.he.net/?topic=ssh&section=all ssh man page]</li>
</ol>

Revision as of 23:13, 20 December 2016

SSH

SSH allows you to connect to a shell on a remote computer.


Example:

[user@localhost ~]$ ssh username@yourserver


SCP

You can also use scp to securely transfer files.

Example:

[user@localhost ~]$ scp examplefile yourusername@yourserver:/home/yourusername/

This example sends examplefile from the directory you're currently in to /home/yourusername/ on yourserver

References

  1. ssh man page