![]() Then, on your browser, click on the little fox in the upper right hand corner and select “Disable FoxyProxy”.The enablement of sshd, the daemon that serves ssh sessions, is done by editing the sshd_configfile. When you are done with your vpn session, exit from the ssh putty session (type exit on the terminal screen). If you are downloading files from the server to your computer, click the file you want to download and then click “Download” and specify where you want to download it to. To transfer files from one to the other, select the file that you want to transfer and then click “Upload” to transfer files to the server and then specify which folder you want to save it to. You should then see a screen that looks like this: It should prompt you to enter your username and password in the bottom. ![]() It will prompt you to enter a name, call it whatever makes sense to you.Īssuming that your putty session is still open, click Login. Make the port number 1080 (or whatever port you chose to use in putty). Then click on Advanced -> Connection -> ProxyĬlick on the “Proxy type” drop down menu and select SOCKS5.įor “Proxy host name” write localhost. In Host name, put the host name or IP address of the machine you want to transfer files to. Then, in the File protocol drop down menu, select SCP. ![]() You can (if you want) to import all your existing sessions from putty, but it’s really not necessary. Once it finishes downloading, run it and go through all the prompts. To scp files in Windows through this ssh tunnel, download WinSCP here: This session will remain open as long as your ssh putty session is open. If it says the IP address of the remote host you're connecting to in putty, you are good to go! :) This will tell you what ip address you have. Enter your passphrase (for your ssh key). A terminal will pop up and ask for your passphrase. ![]() Then click on putty and open your session. Then click on the fox again on the upper right hand corner and click on “Us proxy whatever_you_named_it Proxy for all URLs” Click on that little picture and select Options from the dropdown list.Įnter a proxy name and then select the Proxy Details tab.Įnter “localhost” in “Host or IP Address” and 1080 for “Port” (or whatever port number you entered in putty).Ĭlick the “SOCKS proxy?” Button and make sure the “SOCKS v5” button is also clicked. Once you’ve downloaded it there should be a little fox picture next to the url bar (upper right hand corner of web browser). Then download the "standard" version of FoxyProxy here: Then click the Dynamic button and then click Add. In Source Port enter 1080 (or any port above 1024). Then click on Connection -> SSH -> tunnels Open putty.exe and select the session that you want to use as a ssh tunnel (ie ). Scp -P 2222 file_you_want_to_copy WINDOWS OS Here's another example, say you want to scp files directly from your laptop to your home directory on gimel. Ssh -p 2222 -p 2222 when you log in type hostname and you will see that you are logged into gimel! Pretend you want to create a ssh tunnel from your laptop to gimel through the portal.įirst open two terminals. I am going to illustrate how to create a ssh tunnel using a couple examples.
0 Comments
Leave a Reply. |