Difference: SshCommandLine (2 vs. 3)

Revision 32020-03-27 - MartinMarinus

Line: 1 to 1
 
META TOPICPARENT name="FirstTimeUsers"

SSH configuration for Mac and Linux

Line: 36 to 36
 or
ssh hpcs04
and answer with your HPC-password
Added:
>
>
 And you are on the HPC now
Changed:
<
<
You can automate this procedure to create a ssh-config files called "config" in your .ssh directory.
>
>
You can automate this procedure by creating as ssh-config file. It should be located in your ".ssh" directory, and be called "config".
 This is an example.
Copy and save this file in the .ssh directory and call it config.
Line: 53 to 54
 Host hpcgw HostName hpcgw.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Protocol 2 Port 22
  IdentityFile ~/.ssh/id_rsa_hpc

# usage : ssh gw2hpcs03 Host gw2hpcs03 HostName hpcs03.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22 Protocol 2
  ProxyCommand ssh -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null

# usage : ssh gw2hpcs03X

Changed:
<
<
Host gw2hpcs03
>
>
Host gw2hpcs03X
  HostName hpcs03.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22 Protocol 2
  ForwardX11 yes ProxyCommand ssh -X -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null
Line: 78 to 73
 Host gw2hpcs04 HostName hpcs04.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22 Protocol 2
  ProxyCommand ssh -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null

# usage : ssh gw2hpcs04X

Changed:
<
<
Host gw2hpcs04
>
>
Host gw2hpcs04X
  HostName hpcs04.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22 Protocol 2
  ForwardX11 yes ProxyCommand ssh -X -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null
Line: 95 to 86
 Host gw2hpct01 HostName hpct01.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22 Protocol 2
  ProxyCommand ssh -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null

# usage : ssh gw2hpct02 Host gw2hpct02 HostName hpct02.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22 Protocol 2
  ProxyCommand ssh -i ~/.ssh/id_rsa_hpc -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null

# usage : ssh hpcs03 Host hpcs03 HostName hpcs03.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22 Protocol 2
  # usage : ssh hpcs03X Host hpcs03X HostName hpcs03.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22
  ForwardX11 yes

# usage : ssh hpcs04 Host hpcs04 HostName hpcs04.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22
  Protocol 2

# usage : ssh hpcs04X Host hpcs04X HostName hpcs04.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22 Protocol 2
  ForwardX11 yes

# usage : ssh hpct01 Host hpct01 HostName hpct01.op.umcutrecht.nl User wvanburen

Deleted:
<
<
Port 22 Protocol 2
  # usage : ssh hpct02 Host hpct02 HostName hpct02.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Port 22 Protocol 2
  # usage : ssh ft_gw2hpct01 # then start a filezilla session on localhost
Line: 156 to 133
 Host ft_gw2hpct01 HostName hpct01.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Protocol 2
  ProxyCommand ssh -X -i ~/.ssh/id_rsa_hpc -L 8888:hpct01.op.umcutrecht.nl:22 -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null

# usage : ssh ft_gw2hpct02

Line: 165 to 141
 Host ft_gw2hpct02 HostName hpct02.op.umcutrecht.nl User wvanburen
Deleted:
<
<
Protocol 2
  ProxyCommand ssh -X -i ~/.ssh/id_rsa_hpc -L 8888:hpct02.op.umcutrecht.nl:22 -l wvanburen hpcgw.op.umcutrecht.nl nc %h %p 2>/dev/null #########################################
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback