<?php
// Initialize variables.
$db = JFactory::getDbo();
$subQuery = $db->getQuery(true);
$query = $db->getQuery(true);
// Create the base subQuery select statement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy the file "foobar.txt" from a remote host to the local host | |
$ scp [email protected]:foobar.txt /some/local/directory | |
Copy the file "foobar.txt" from the local host to a remote host | |
$ scp foobar.txt [email protected]:/some/remote/directory | |
Copy the directory "foo" from the local host to a remote host's directory "bar" | |
$ scp -r foo [email protected]:/some/remote/directory/bar | |
Copy the file "foobar.txt" from remote host "rh1.edu" to remote host "rh2.edu" |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).