Configure SSH tunnel for Putty:
Here we are going to configure SSH tunnel to connect Amazon bastian host for Amazon Redshit. The purpose of this configuration is to open tunnel, so if you have Python script to validate data, you can execute it either on command prompt or using PyCharm. This configuration is application to Windows env.
Select session
01. Host Name: LunuxID@global-consumer-np-bastian host.subdomain.domain.com
02. Port: 22
03. Connection type: SSH
04. Save Session: RS Dev
Under Connection --> SSH --> Tunnels -->
01. Source port - 5439
02. Destination - global-consumer-np-rs.subdomain.domain.com:5439
It will add the value as follows
L5439 global-consumer-np-subdomain.domain.com:5439
For Mac OS:
01. Open terminal window
02. Type the following command
ssh -L 5439:global-consumer-np-rs-.subdomain.domain.com:5439 LinuxID@global-consumer-np-bastion.subdomain.domin.com -N
Comments
Post a Comment