User:Manetta/metaphors-at-the-internet: Difference between revisions
No edit summary |
|||
Line 13: | Line 13: | ||
=== ssh === | === ssh === | ||
[https://wiki.debian.org/SSH#Installation_of_the_client link to documentation on setting up ssh connection] | [https://wiki.debian.org/SSH#Installation_of_the_client link to documentation on setting up ssh connection] | ||
* Remote login '''With password''' | |||
ssh $remote_user@$remote_host | |||
If the usernames on the local and the remote computer are identical, you can drop the $remote_user@-part and simply write | |||
ssh $remote_host | |||
* Remote login '''Using shared keys''' | |||
To generate the key, use the program ssh-keygen as follows | |||
ssh-keygen -t rsa | |||
This program generates a pair of private/public keys in the directory ~/.ssh. The program first asks for the destination files for the keys, by default located in ~/.ssh. Afterwards a passphrase is requested. | |||
Note: We recommend not to leave the passphrase empty. An attacker who gets hold of your private key can otherwise connect to the hosts where you deposited you public key since the passphrase is empty. Choose a long and complex passphrase. | |||
You private key is id_rsa (don't give it to someone else), the public key is id_rsa.pub. | |||
You copy your public key to a remote host with the command ssh-copy-id | |||
ssh-copy-id -i ~/.ssh/id_rsa.pub $remote_user@$remote_host | |||
Now you can connect simply to the remote host and the passphase is asked for. Once done, you get connected to the remote host. In case of a new connection the passphrase does not get asked for again during your entire session. | |||
=== git === | |||
[http://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-SSH-Protocol link to documentation of using git & ssh on server] | |||
To clone a Git repository over SSH, you can specify ssh:// URL like this: | |||
$ git clone ssh://user@server/project.git | |||
Or you can use the shorter scp-like syntax for SSH protocol: | |||
$ git clone user@server:project.git |
Revision as of 17:05, 16 April 2015
metaphors at the internet
annotations
notes on the etherpad, by julie and manetta
metaphor reference: the Myth of the Metaphor - Alan Cooper (1995)
metaphor reference: Danger! Metaphors at Work in Economics, Geophysiology, and the Internet - Sally Wyatt (2004)
metaphor reference: Transcoding the Digital, How Metaphors Matter in New Media - Marianne van den Boomen (2014)
setting up ssh + git to work in spreadsheet on server
ssh
link to documentation on setting up ssh connection
- Remote login With password
ssh $remote_user@$remote_host
If the usernames on the local and the remote computer are identical, you can drop the $remote_user@-part and simply write
ssh $remote_host
- Remote login Using shared keys
To generate the key, use the program ssh-keygen as follows
ssh-keygen -t rsa
This program generates a pair of private/public keys in the directory ~/.ssh. The program first asks for the destination files for the keys, by default located in ~/.ssh. Afterwards a passphrase is requested.
Note: We recommend not to leave the passphrase empty. An attacker who gets hold of your private key can otherwise connect to the hosts where you deposited you public key since the passphrase is empty. Choose a long and complex passphrase.
You private key is id_rsa (don't give it to someone else), the public key is id_rsa.pub.
You copy your public key to a remote host with the command ssh-copy-id
ssh-copy-id -i ~/.ssh/id_rsa.pub $remote_user@$remote_host
Now you can connect simply to the remote host and the passphase is asked for. Once done, you get connected to the remote host. In case of a new connection the passphrase does not get asked for again during your entire session.
git
link to documentation of using git & ssh on server
To clone a Git repository over SSH, you can specify ssh:// URL like this:
$ git clone ssh://user@server/project.git
Or you can use the shorter scp-like syntax for SSH protocol:
$ git clone user@server:project.git