Ssh key share for XPPL: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
Serveraliveinterval 30 | Serveraliveinterval 30 | ||
</pre> | </pre> | ||
* From now on you can use »xppl« as a shortcut for xppl@pzwart1.wdka.hro.nl for ssh and scp |
Revision as of 16:08, 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
- From now on you can use »xppl« as a shortcut for xppl@pzwart1.wdka.hro.nl for ssh and scp