The best way to use Plink is by creating a batch file, which can be run from the command-line. Open tunnel in place of session (SSH-2 only) N don’t start a shell/command (SSH-2 only) s remote command is an SSH subsystem (SSH-2 only) i key private key file for authentication 1 -2 force use of particular protocol version The following options only apply to SSH connections: load sessname Load settings from saved session pgpfp print PGP key fingerprints and exit (“host” can also be a PuTTY saved session name) PuTTY Link: command-line connection utility Plink can be configured with different parameters, like shown below: I always use Plink, which I copy to the C:\Windows\system32 directory, so I can run it from the command-line. I use Windows 7 as operating system on my laptop, so for SSH tunneling I have to use a third-party application. Even if I am at a completely different location. Since my companies public IP space is allowed to access the customers firewall, I can use ASDM on my laptop. That means that my laptops ASDM application uses my companies public IP space to access the customers firewall. I “tell” the connection to forward traffic to my localhost on port TCP/1234 to the SSH server and the SSH server should forward the connection to the customers firewall on port TCP/443. At first I create the SSH tunnel to my companies SSH server. I configure the connection to forward certain localhost connections from my laptop through the SSH tunnel and let the SSH server setup a new connection to the final destination by forwarding the traffic.Īn example would be accessing a Cisco ASA firewall via ASDM from my laptop. I connect to my companies SSH server via a SSH remote connection. Since the SSH server uses my companies “allowed” public IP space, the server could connect directly, if allowed, to the customers equipment.īy using the SSH tunnel I use my companies SSH server as some kind of man-in-the-middle server. I configure and place the SSH server at my headquarters. There are also a lot of SSH server applications for the Windows platform. Most Unix servers can be configured as SSH servers by installing OpenSSH. To create a SSH tunnel you need a SSH server and a SSH client. An example of such a known location could be the public IP space of my companies headquarters.īut how can I support somebody if I am not at my companies headquarters? Most Unix boys already know the answer to that questions…. Sometimes it is allowed to directly access networking equipment, like a company firewall, from a known location. Access to their networking equipment is mostly blocked from unknown locations. As a networking consultant I often need to support customers from remote locations. Plink stands for PuTTY Link and is a command-line connection tool similar to Unix ssh.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |