-
Notifications
You must be signed in to change notification settings - Fork 1
SSH Guide
Paul Jerrold Biglete edited this page Jun 1, 2020
·
2 revisions
SSH Configuration File
Examples
In terminal, create / edit ssh config file
sudo nano ~/.ssh/config
Add the following lines:
Host *.caida.org
User USERNAME
Host *
ForwardAgent yes
# CAIDA Gateway
Host limbogw
Hostname limbonet-gw.caida.org
User USERNAME
# dzdb gateway
Host dzdbgw
ProxyCommand ssh -q limbogw nc -q0 10.250.111.3 22
User dzdb
# dzdb web nodes
Host dzdb-web-prod
ProxyCommand ssh -q dzdbgw nc -q0 10.240.101.10 22
User dzdb
Host dzdb-web-dev
ProxyCommand ssh -q dzdbgw nc -q0 10.240.102.10 22
User dzdb
Host dzdb-web-test
ProxyCommand ssh -q dzdbgw nc -q0 10.240.103.10 22
User dzdb
SSH Issues
Can't login / asking for password
Try the following:
-Check to see if you are able to ssh into the dzdb gateway (dzdbgw) first
-Contact a systems administrator and check to see if your ssh key has been added/exists.
-Remove old host key on your machine then try to ssh in
ssh-keygen -f "/home/username/.ssh/known_hosts" -R "hostname"
Removes all keys belonging to hostname from a known_hosts file. This option is useful to delete hashed hosts (see the -H option above).
Service/VM/Code Mappings
Service | Endpoint | IP | Repo:Branch | Heat Stack |
---|---|---|---|---|
Gateway | N/A | 10.250.141.3 |
N/A | dzdb-gw |
Web | dzdb.caida.org | 10.240.101.10 |
dzdb-web:master | dzdb-web |
Web | dev.dzdb.caida.org | 10.240.102.10 |
dzdb-web:master | dzdb-web |
Web | test.dzdb.caida.org | 10.240.103.10 |
dzdb-web:master | dzdb-web |