You are here: Foswiki>Applications Web>AppHowToMain>AppHowToSshAccess (13 Apr 2020, JuttaFitzek)Edit Attach

Quick Reference: SSH Access

SSH Tunnel to CERN (used for CommonBuild)

cernTunnel -u <username> -t 1200 [optional SSH args]

CERN file copy

To copy e.g. jars from the CERN Linux development environment to the asl machines, you have to open an ssh tunnel in one shell

ssh -l jnetzel -L13333:cs-ccr-dev2:22 lxplus.cern.ch

then either log into cs-ccr-dev2 to get a shell:

ssh -l jnetzel -p 13333 localhost

or copy the needed jars from cs-ccr-dev2 to the asl machine:

scp -r -P 13333 jnetzel@localhost:/user/jnetzel/ws/newlibs .

Setting up an SSH Tunnel with the SSH GUI (Win32)

Create a new connection. On the "Connection" tab, enter Host name and Port number as below and fill in the user name of your CERN NICE account. If you want to create a tunnel only, check the corresponding box.

LSA-ssh-connection-config.PNG

On the "Tunneling" tab, enter Name and Dest Host as shown below. For Listen Port, enter your preferred port number. This number must be identical to the one specified in the configuration of cmmnbuild (cf. repository.properties above).

LSA-ssh-tunnel-config.PNG

-- JuttaFitzek - 06 Jan 2015 -- RaphaelMueller - 23 Feb 2010
Topic revision: r2 - 13 Apr 2020, JuttaFitzek
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback