CernLxplus: Difference between revisions
Jump to navigation
Jump to search
m (Created page with " == How to copy data from disk (eg. beo5) to you space at lxplus? ==
Use secure copy: scp
<pre>
scp 'uname'@lxpub3.iihe.ac.be:/beo5/somefile 'uname'@lxplus.cern.ch:/afs/...") |
No edit summary |
||
Line 1: | Line 1: | ||
== How to connect without password to lxplus == | |||
* The CERN wiki page is [http://linux.web.cern.ch/linux/docs/kerberos-access.shtml here] | |||
* On '''ubuntu''', you need to: | |||
** install kerberos | |||
sudo apt-get install krb5-user | |||
with domain: CERN.CH | |||
:* Copy to '''/etc/krb5.conf''' the config file taken from CERN [http://linux.web.cern.ch/linux/docs/krb5.conf here]. | |||
:* Do a '''kinit''' . It should ask you for you CERN password, specifying yourlogin@CERN.CH. If this is wrong, specify it yourself with '''kinit yourlogin@CERN.CH''' | |||
::: This should give you a valid kerberos ticket lasting 25h, meaning you will be able to connect passwordlessly to lxplus as long as the kerberos ticket is valid. | |||
::: To check if this worked, do a '''klist -f'''. Check the ''Flags'', there should be an '''F''', meaning you will have access to your /afs space. | |||
:* Connect to lxplus using the following ssh options (replace ''MYLOGIN'' with the CERN login): | |||
ssh -2 -oGSSAPIAuthentication=yes -oGSSAPIDelegateCredentials=yes -oGSSAPITrustDNS=yes -l MYLOGIN lxplus.cern.ch | |||
== How to copy data from disk (eg. beo5) to you space at lxplus? == | == How to copy data from disk (eg. beo5) to you space at lxplus? == | ||
Line 14: | Line 26: | ||
*[http://linux.web.cern.ch/linux/documentation/printing.shtml More] information. | *[http://linux.web.cern.ch/linux/documentation/printing.shtml More] information. | ||
*[http://cerncourier.com/cws/article/cnl/26307 Article] on printing | *[http://cerncourier.com/cws/article/cnl/26307 Article] on printing | ||
Revision as of 15:16, 9 December 2015
How to connect without password to lxplus
- The CERN wiki page is here
- On ubuntu, you need to:
- install kerberos
sudo apt-get install krb5-user with domain: CERN.CH
- Copy to /etc/krb5.conf the config file taken from CERN here.
- Do a kinit . It should ask you for you CERN password, specifying yourlogin@CERN.CH. If this is wrong, specify it yourself with kinit yourlogin@CERN.CH
- This should give you a valid kerberos ticket lasting 25h, meaning you will be able to connect passwordlessly to lxplus as long as the kerberos ticket is valid.
- To check if this worked, do a klist -f. Check the Flags, there should be an F, meaning you will have access to your /afs space.
- Connect to lxplus using the following ssh options (replace MYLOGIN with the CERN login):
ssh -2 -oGSSAPIAuthentication=yes -oGSSAPIDelegateCredentials=yes -oGSSAPITrustDNS=yes -l MYLOGIN lxplus.cern.ch
How to copy data from disk (eg. beo5) to you space at lxplus?
Use secure copy: scp
scp 'uname'@lxpub3.iihe.ac.be:/beo5/somefile 'uname'@lxplus.cern.ch:/afs/cern.ch/user/m/me
How to print from lxplus when you're in building 40
Command to print
lpr -P 40-4B-COR ....