Postagens

Mostrando postagens de setembro, 2013

Criando Túnel SSH

Imagem
Vamos lá tentar retomar essa vida inútil de blogueiro, tirando as teias de aranha e o pó dos cantos. Vou retomar meus escritos registrando aqui uma coisa para que eu não esqueça novamente e que tomou quase todo o meu dia de ontem tentando configurar: Fazer um túnel via SSH pelo Putty! O cenário que me levou a essa necessidade foi o seguinte. Eu tinha acesos via SSH pela porta 777 a um servidor Oracle de banco de dados em um host remoto, e precisava acessar esse banco através de uma aplicação local em minha máquina. A primeira coisa a se configurar é a conexão ao host remoto. Por exemplo, você precisa acessar o banco de dados que está no servidor 201.200.175.203, porém o acesso remoto está liberado na porta 777. A configuração ficaria da seguinte forma no Putty: A próxima etapa é fazer a configuração do túnel (Tunnels). Essa coisa toda de túnel, ou tunneling como é popularmente conhecido, é quase um WormHole usado nas viagens do Capitão Kirk e sua nave Enterprise. Eu simplesmente i

SSH Tunneling

Imagem
Let's try to get back to this useless life of blogger, taking out the spider webs and dust of the room corners. I'll return my posts registering here something to I never forget again, once it took all of one entire of my days trying to configure: A SSH tunneling through Putty! The scene which lead me to this need was that once I had a SSH access through 777 port, on a Oracle Database Server into a remote host, I had to access this database through some local application at my computer. First thing to do is configure the connection to the remote host. For example, you need to access a database that is at the 201.200.175.203 ip server, but your remote access is opened at 777 port. The configuration on Putty would be similar to this: Next step is to configure the tunneling. This stuff called tunneling is almost like the Worm Holes used by Capitain Kirk and the Enterprise. You just have to inform to Putty that when you try to access the XXXXX port on your local machine, syste