You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.
At <code>drop.hackersanddesigners.nl</code> we setup a folder where to upload and share files.
Anyone can download a file by visiting the url above, but to upload and delete something, you need to have some permissions given. We are using simple ssh login access, to manage this. This means you need to have your computer public ssh-key added to the h&d server, in order to upload and delete files at <code>drop.hackersanddesigners.nl</code>.
== Setup ==
=== For macOS / GNU-Linux ===
# open your terminal
# type <code>cat ~/.ssh/id_rsa.pub</code> and press enter; if things worked, the terminal printed your public key (a long string of letters and numbers)
# depending on the result above:
## if the terminal printed a long string of letters and numbers, then type <code>pbcopy < ~/.ssh/id_rsa.pub</code> and press enter, to copy your public key in your system clipboard
## if the terminal said there’s no file with that name, then you need to make a new ssh key:
##* type this <code>ssh-keygen -t rsa -b 4096</code> in terminal and press enter
##* accept default location when asked from the terminal
##* lastly, type a passphrase when prompted: tip, choose a sentence and note it down somewhere safe (or keep it in your head forever)
##* after this, go back to point 3.1
# send it to André via PM or email
=== For Windows ===
For Windows system, you can either use the terminal program PuTTY by following [https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-windows this guide], or if you happen to have installed ''Windows Subsystem for Linux'' ([https://en.m.wikipedia.org/wiki/Windows_Subsystem_for_Linux link]), then you can use the same steps for GNU-Linux outlined above.
=== Notes ===
It might be that sending your existing <code>ssh-pubkey</code> does not work when added to the h&d server. For example you receive a <code>Permission denied (publickey)</code>. Noob speculation: it might be that your key is too old, or there’s something wrong with the system configuration. Try to make a new key by typing <code>ssh-keygen -t rsa -b 4096</code> in the terminal, and set as location the default one. This should overwrite the existing key. If it does not work, another way would be to manually delete your old keys. Reach out to André in that case.
=== Testing ===
To make sure your key is valid, just try to ssh login to the server using the terminal by typing:
The terminal will ask you if you trust the server, say yes, and you should be in. If you get a <code>pubkey access denied</code> type of error, then please reach out to André.
== Usage ==
To use the <code>drop</code> space, you can either use the terminal or a Graphical App like [https://github.com/rsyncOSX/RsyncOSX RsyncOSX]; in both cases we are using <code>rsync</code>, a file synchronization program (which means an app you can use to copy some files between two folders, either within your computer or between two computers). You can use also <code>scp</code>, or technically any program that can connect to a server through ssh and public key verification. This means that some FTP-like program ''might'' be used as well.
=== Upload files ===
A basic command example would be
<pre>rsync -azP <path/to/file> firstname.lastname@example.org:dump/.</pre>
* <code><path/to/file></code> needs to be replace with an actual path to a file in your computer, for example <code>~/Downloads/THE-PROBLEM-OF-SCALE-IN-ANARCHISM-AND-THE-CASE-FOR-CYBERNETIC-COMMUNISM.pdf</code>
* <code>-azP</code> is a series of flags, in terminal programs slang a series of options, that you set to the program command; in this case
** <code>a</code> stands for ''add'',
** <code>z</code> stands for ''compressed'' (as in compress the file(s) you want to upload before uploading them),
** and <code>P</code> stands for ''progresss'', like display a progress bar while executing this operation
=== Delete files ===
… <need testing before blindly copy-pasting some internet answer>
This is a minor edit
Watch this page