...
Code Block | ||||
---|---|---|---|---|
| ||||
user@local $ python3 -m teleport.login INFO - Certificates not found or not valid anymore INFO - Loading configuration file [/home/symmuid/.teleport-login.yaml] INFO - Checking environment for configuration variables... INPUT - OTP Token: INFO - Starting [/usr/local/bin/tsh login --browser=none --proxy=shell.ecmwf.int:443] INFO - TeleportLoginUrlHandler finished INFO - UsernamePasswordHandler finished INFO - HIDTokenHandler finished INFO - Login Successful INFO - > Profile URL: https://shell.ecmwf.int:443 Logged in as: manuelFirstName.martins@ecmwfLastName@ecmwf.int Cluster: shell.ecmwf.int Roles: Logins: symmuid Kubernetes: disabled Valid until: 2021-06-07 07:28:55 +0100 BST [valid for 12h0m0s] Extensions: permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty |
...
Code Block | ||||
---|---|---|---|---|
| ||||
user@local $ export ECMWF_USERNAME='test' user@local $ export ECMWF_PASSWORD='zzzz' user@local $ export TSH_EXEC='tsh' user@local $ export TSH_PROXY='shell-test.ecmwf.int:443' user@local $ python3 -m teleport.login INFO - Certificates not found or not valid anymore INFO - Loading configuration file [/home/symmuid/.teleport-login.yaml] INFO - Checking environment for configuration variables... INFO - Environment variable [ECMWF_USERNAME] found. Overriding... INFO - Environment variable [ECMWF_PASSWORD] found. Overriding... INFO - Environment variable [TSH_EXEC] found. Overriding... INFO - Environment variable [TSH_PROXY] found. Overriding... INPUT - OTP Token: INFO - Starting [tsh login --browser=none --proxy=shell-test.ecmwf.int:443] ... |
...
Code Block | ||||
---|---|---|---|---|
| ||||
user@local $ python3 -m teleport.login INFO - Certificates not found or not valid anymore INFO - Configuration file not found [~/.teleport-login.yaml] INFO - Checking environment for configuration variables... INFO - Username is empty... INPUT - ECMWF username: symmuid INFO - Password is empty... INPUT - ECMWF password: INPUT - OTP Token: INFO - Starting [tsh login --browser=none --proxy=shell.ecmwf.int:443] ... |
...
Code Block | ||||
---|---|---|---|---|
| ||||
user@local $ DEBUG=True python3 -m teleport.login INFO - Certificates not found or not valid anymore INFO - Loading configuration file [/home/symmuid/.teleport-login.yaml] INFO - Checking environment for configuration variables... INPUT - OTP Token: DEBUG - Loaded Configuration: {"token": "xxxxxx", "username": "symmuid", "password": "xxxxxxxx", "tsh_exec": "/usr/local/bin/tsh", "tsh_proxy": "shell.ecmwf.int:443"} INFO - Starting [/usr/local/bin/tsh login --browser=none --proxy=shell.ecmwf.int:443] DEBUG - Setting User-Agent: {'User-Agent': 'TeleportBrowserlessLogin/1.0.0 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.31) Python/3.9.5'} DEBUG - Starting new HTTP connection (1): 127.0.0.1:42387 DEBUG - http://127.0.0.1:42387 "GET /fbbeee7d-dfc3-4b7b-a75a-830f48980d2e HTTP/1.1" 302 309 DEBUG - Starting new HTTPS connection (1): accounts.ecmwf.int:443 DEBUG - https://accounts.ecmwf.int:443 "GET /auth/realms/ecmwf/protocol/openid-connect/auth... HTTP/1.1" 200 5797 INFO - TeleportLoginUrlHandler finished DEBUG - https://accounts.ecmwf.int:443 "POST /auth/realms/ecmwf/login-actions/authenticate... HTTP/1.1" 200 5654 INFO - UsernamePasswordHandler finished DEBUG - https://accounts.ecmwf.int:443 "POST /auth/realms/ecmwf/login-actions/authenticate... HTTP/1.1" 200 5915 INFO - HIDTokenHandler finished INFO - Login Successful INFO - > Profile URL: https://shell.ecmwf.int:443 Logged in as: manuelFirstName.martins@ecmwfLastName@ecmwf.int Cluster: shell.ecmwf.int Roles: Logins: symmuid Kubernetes: disabled Valid until: 2021-06-07 07:28:55 +0100 BST [valid for 12h0m0s] Extensions: permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty |
...
Code Block | ||||
---|---|---|---|---|
| ||||
user@local $ DEBUG=True python3 -m teleport.login INFO - Current certificate [/home/symmuid/.tsh/keys/shell.ecmwf.int/manuelFirstName.martins@ecmwfLastName@ecmwf.int-x509.pem] is valid until [2021-06-08 20:49:58] |
...