Ssh key share for XPPL: Difference between revisions
(Created page with "== Generating keys == We already generated a key following this: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 There is a user account called »...") |
No edit summary |
||
Line 14: | Line 14: | ||
insert: | insert: | ||
<pre> | <pre> | ||
Host xppl | Host xppl // name for the shortcut you use to ssh into the server | ||
User xppl | User xppl // ssh user | ||
Hostname pzwart1.wdka.hro.nl | Hostname pzwart1.wdka.hro.nl // hostname of the server | ||
Port 22 | Port 22 | ||
Identityfile ~/.ssh/xppl_id_rsa | Identityfile ~/.ssh/xppl_id_rsa // change and make sure this is the path to the location of your keys | ||
Serveraliveinterval 30 | Serveraliveinterval 30 | ||
</pre> | </pre> |
Revision as of 16:06, 28 May 2018
Generating keys
We already generated a key following this: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
There is a user account called »xppl« on the xpub server, to which you can connect to using the private key.
scp'ing to xppl
- You need to get the public and private key (currently @ Alex and Joca)
- and you need to create a config file as follows:
nano ~/.ssh/config
insert:
Host xppl // name for the shortcut you use to ssh into the server User xppl // ssh user Hostname pzwart1.wdka.hro.nl // hostname of the server Port 22 Identityfile ~/.ssh/xppl_id_rsa // change and make sure this is the path to the location of your keys Serveraliveinterval 30